Skip to content

Commit

Permalink
fix(NcHeaderMenu): Ensure trigger button is has same width as wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Sep 3, 2024
1 parent 8a0882f commit 9a65176
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/NcHeaderMenu/NcHeaderMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ $externalMargin: 8px;
height: var(--header-height);
#{&}__trigger {
width: 100% !important;
--button-size: var(--header-height) !important;
height: var(--header-height);
opacity: .85;
Expand Down Expand Up @@ -397,6 +397,10 @@ $externalMargin: 8px;
@media only screen and (max-width: $breakpoint-small-mobile) {
.header-menu {
width: var(--default-clickable-area);
#{&}__trigger {
--button-size: var(--default-clickable-area) !important;
}
}
}
</style>

0 comments on commit 9a65176

Please sign in to comment.