Skip to content

Commit

Permalink
hide actionBar menu trigger properly if there is no block button to show
Browse files Browse the repository at this point in the history
  • Loading branch information
J3ekir committed Jul 20, 2024
1 parent cdd3445 commit 76d8e32
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions css/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,27 @@
&.actionBar-action--menuTrigger {
display: inline !important;
}
&.actionBar-action--report + .theBlocker-hide ~ &.actionBar-action--menuTrigger,
&.actionBar-action--report + &.actionBar-action--menuTrigger {
display: none !important;
}
}

a[blocktype] {
cursor: pointer;
&:not([data-user-id]) {
display: none;
}
&:not([data-user-id]) ~ .actionBar-action.actionBar-action--menuTrigger {
display: none !important;
}
}

/* signature */
@media (max-width: 480px) {
a[blocktype$="Signature"] {
display: none !important;
}
.actionBar-action.actionBar-action--report + a[blocktype$="Signature"] + .actionBar-action.actionBar-action--menuTrigger {
display: none !important;
}
}

/* actionBar external */
Expand Down

0 comments on commit 76d8e32

Please sign in to comment.