Vertically align inner toggle for webkit browsers
This commit is contained in:
parent
81a477ea18
commit
4182c34ff6
|
@ -14,8 +14,10 @@
|
||||||
|
|
||||||
<div class="sidebar-toggle-wrapper">
|
<div class="sidebar-toggle-wrapper">
|
||||||
<button class="toggle navicon-button larr" type="button">
|
<button class="toggle navicon-button larr" type="button">
|
||||||
|
<span class="toggle-inner">
|
||||||
<span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span>
|
<span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span>
|
||||||
<span class="navicon"></span>
|
<span class="navicon"></span>
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -116,13 +116,11 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
|
|
||||||
.toggle {
|
.toggle-inner {
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -14,8 +14,10 @@
|
||||||
|
|
||||||
<div class="sidebar-toggle-wrapper">
|
<div class="sidebar-toggle-wrapper">
|
||||||
<button class="toggle navicon-button larr" type="button">
|
<button class="toggle navicon-button larr" type="button">
|
||||||
|
<span class="toggle-inner">
|
||||||
<span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span>
|
<span class="sidebar-toggle-label">{{ site.data.theme.t.menu | default: 'Menu' }}</span>
|
||||||
<span class="navicon"></span>
|
<span class="navicon"></span>
|
||||||
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -116,13 +116,11 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
|
|
||||||
.toggle {
|
.toggle-inner {
|
||||||
display: -ms-flexbox;
|
display: -ms-flexbox;
|
||||||
display: flex;
|
display: flex;
|
||||||
-ms-flex-align: center;
|
-ms-flex-align: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
color: inherit;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue