move SABs margin into status
This commit is contained in:
parent
a3c3611b8f
commit
3db36c25ee
18 changed files with 235 additions and 44 deletions
|
|
@ -69,6 +69,8 @@ export default {
|
|||
'getComponent',
|
||||
'doAction',
|
||||
'outerClose',
|
||||
'defaultButtonStyle',
|
||||
'hideLabel',
|
||||
],
|
||||
components: {
|
||||
StatusBookmarkFolderMenu,
|
||||
|
|
@ -103,11 +105,12 @@ export default {
|
|||
return useMergedConfigStore().mergedConfig.hidePostStats
|
||||
},
|
||||
buttonInnerClass() {
|
||||
const buttonStyleClass = this.defaultButtonStyle ? 'button-default' : 'button-unstyled'
|
||||
return [
|
||||
this.button.name + '-button',
|
||||
{
|
||||
'main-button': this.extra,
|
||||
'button-unstyled': !this.extra,
|
||||
[buttonStyleClass]: !this.extra,
|
||||
'-active': this.button.active?.(this.funcArg),
|
||||
disabled: this.button.interactive
|
||||
? !this.button.interactive(this.funcArg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue