Skip to content

Commit

Permalink
Alignements in the top menu
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-farre committed Nov 9, 2024
1 parent 980b2ee commit 55b0588
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Unreleased
- Fix: Bottom menu on mobile: when "Hide the text of the bottom menu buttons" is enabled, long texts are truncated
- Enh: use `--hh-ct-font-size` CSS variable for buttons
- Fix: Border radius of top left and right cards
- Fix: Vertical alignment of the search button in the top menu
- Fix: Ensure that the notification and messenger unread counter is round when it contains only one digit

2.1.0 (October 18, 2024)
--------------------
Expand Down
2 changes: 1 addition & 1 deletion themes/Clean/css/theme.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion themes/Clean/css/theme.css.map

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions themes/Clean/less/humhub/topbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@
position: absolute;
top: 4px;
right: -2px;
padding: 4px;
min-width: 18px; // Insure that the label is round when only 1 digit
}

.dropdown-menu {
Expand Down Expand Up @@ -328,10 +330,9 @@
}

#search-menu {
display: inline-block;
display: block;
height: auto;
padding: 5px 10px;
margin: 10px 2px;
padding: 8px 10px;
color: var(--hh-ct-top-menu-text-color);

&:hover,
Expand All @@ -342,6 +343,10 @@
text-decoration: none;
border-bottom: none;
}

i {
margin-bottom: 0;
}
}


Expand Down

0 comments on commit 55b0588

Please sign in to comment.