Skip to content

Commit e918f61

Browse files
committed
Fix the alignment of the buttons on the hamburger menu.
1 parent 33978ae commit e918f61

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

media/css/main.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,6 +1892,29 @@ button.imagebutton {
18921892
#docContent table.table {
18931893
font-size: 70%;
18941894
}
1895+
1896+
/* Hamburger menu */
1897+
/* Search and theme buttons layout */
1898+
#pgNavbar form[role="search"],
1899+
#pgNavbar #form-theme {
1900+
display: inline-block;
1901+
margin: 0.5rem 0.25rem;
1902+
}
1903+
#pgNavbar form[role="search"] .input-group {
1904+
width: auto;
1905+
}
1906+
#pgNavbar form[role="search"] .btn,
1907+
#pgNavbar #form-theme .btn {
1908+
width: 2.5rem;
1909+
height: 2.5rem;
1910+
padding: 0;
1911+
display: flex;
1912+
align-items: center;
1913+
justify-content: center;
1914+
}
1915+
#pgNavbar #form-theme .btn {
1916+
margin-left: 0;
1917+
}
18951918
}
18961919

18971920
@media (max-width: 768px) {

0 commit comments

Comments
 (0)