mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-22 01:45:40 +01:00
changed button padding to before
This commit is contained in:
parent
e9a7342c8d
commit
12b3d73c6f
@ -506,14 +506,14 @@ export default defineComponent({
|
||||
return this.$store.getters.getUseDeArrowThumbnails
|
||||
},
|
||||
|
||||
deArrowToggleStyle: function () {
|
||||
let defaultStyle = { size: 12, padding: 4 }
|
||||
deArrowToggleSize: function () {
|
||||
let defaultSize = 12
|
||||
if (this.globalUseDeArrowTitles && this.deArrowCache?.title &&
|
||||
this.data.title.localeCompare(this.deArrowCache.title, undefined, { sensitivity: 'accent' }) !== 0) {
|
||||
defaultStyle = { size: 16, padding: 2 }
|
||||
defaultSize = 16
|
||||
}
|
||||
|
||||
return defaultStyle
|
||||
return defaultSize
|
||||
},
|
||||
|
||||
deArrowCache: function () {
|
||||
|
@ -132,8 +132,7 @@
|
||||
:icon="['fas', 'times-circle']"
|
||||
:title="deArrowToggleTitle"
|
||||
theme="base-no-default"
|
||||
:size="deArrowToggleStyle.size"
|
||||
:padding="deArrowToggleStyle.padding"
|
||||
:size="deArrowToggleSize"
|
||||
:use-shadow="false"
|
||||
role="button"
|
||||
@click="toggleDeArrow"
|
||||
@ -233,7 +232,6 @@
|
||||
:title="$t('Video.More Options')"
|
||||
theme="base-no-default"
|
||||
:size="16"
|
||||
:padding="2"
|
||||
:use-shadow="false"
|
||||
dropdown-position-x="left"
|
||||
:dropdown-options="dropdownOptions"
|
||||
|
Loading…
Reference in New Issue
Block a user