Skip to content

Commit

Permalink
Merge pull request #6047 from nextcloud-libraries/fix/header-menu
Browse files Browse the repository at this point in the history
fix(NcHeaderMenu): Ensure trigger button is has same width as wrapper
  • Loading branch information
susnux authored Sep 5, 2024
2 parents 5f6afe1 + 9a65176 commit a24042e
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 a24042e

Please sign in to comment.