Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

Commit c09a007

Browse files
committed
Fixed menu height bug
1 parent 116466a commit c09a007

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

resources/less/styles.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
border-bottom: 1px solid @global-muted-color;
88
box-sizing: content-box;
99

10-
* {
10+
> *,
11+
.tool > a {
1112
height: 45px;
1213
}
1314

resources/templates/main.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
{{! TODO: Restrucutre menus for JS-less clients using <noscript> tags}}
2727
<nav id="tools" class="uk-navbar-container uk-navbar-transparent uk-padding-remove-left " uk-navbar>
2828
<ul class="uk-navbar-nav">
29-
<li id="site-tools">
29+
<li id="site-tools" class="tool">
3030
<a href="{{{nav_urls.info.href}}}" title="{{nav_urls.info.text}}" uk-icon="icon: home"></a>
3131
<div class="uk-navbar-dropdown">
3232
<ul class="uk-nav uk-navbar-dropdown-nav">
3333
{{#sidebar.navigation}}<li><a href="{{{href}}}">{{text}}</a></li>{{/sidebar.navigation}}
3434
</ul>
3535
</div>
3636
</li>
37-
<li id="page-tools">
37+
<li id="page-tools" class="tool">
3838
<a href="{{{content_navigation.views.edit.href}}}" title="{{content_navigation.views.edit.text}}" uk-icon="icon: pencil"></a>
3939
<div class="uk-navbar-dropdown uk-navbar-dropdown-width-2"> {{! BUG: uk-navbar-dropdown isn't 2-columns wide }}
4040
{{! TODO: Add code to remove some of these and modify the namespace displayed in h1 for the rest (sp. policy, guideline and essay) }}
@@ -68,7 +68,7 @@
6868
</div>
6969
</div>
7070
</li>
71-
<li id="user-tools">
71+
<li id="user-tools" class="tool">
7272
<a href="{{{userpageurl}}}" title="{{userpage}}" uk-icon="icon: user"></a> {{! TODO: Add notification for new talk page messages (using $data['newtalk']) }}
7373
<div class="uk-navbar-dropdown">
7474
<ul class="uk-nav uk-navbar-dropdown-nav">
@@ -81,7 +81,7 @@
8181
</ul>
8282
</div>
8383
</li>
84-
<li id="site-search">
84+
<li id="site-search" class="tool">
8585
{{! TODO: Add option to search current article with prefix:\{\{\{title\}\}\}/ }}
8686
<a href="{{{searchaction}}}" title="{{searchtitle}}" uk-icon="icon: search"></a>
8787
<div class="uk-navbar-dropdown">

0 commit comments

Comments
 (0)