changed button padding to before

This commit is contained in:
Jie Li 2024-11-15 11:22:08 +00:00
parent e9a7342c8d
commit 12b3d73c6f
2 changed files with 5 additions and 7 deletions

View File

@ -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 () {

View File

@ -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"