mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
theme: fix alignment of menu select boxes #178
This commit is contained in:
parent
b1bb8e2290
commit
0c261fb314
2 changed files with 13 additions and 5 deletions
|
@ -68,6 +68,7 @@
|
|||
<li>
|
||||
<a class="padding select-container">
|
||||
<i class="fas fa-language fa-fw"></i>
|
||||
<span> </span>
|
||||
<div class="select-style">
|
||||
<select id="select-language" onchange="location = baseUri + this.value;">
|
||||
{{- $siteLanguages := .Site.Languages }}
|
||||
|
@ -93,6 +94,7 @@
|
|||
<li>
|
||||
<a class="padding select-container">
|
||||
<i class="fas fa-paint-brush fa-fw"></i>
|
||||
<span> </span>
|
||||
<div class="select-style">
|
||||
<select id="select-theme" onchange="changeTheme( this.value );">
|
||||
{{- $firsttheme := true }}
|
||||
|
|
|
@ -1384,17 +1384,23 @@ h6 a {
|
|||
}
|
||||
|
||||
.select-container {
|
||||
height: 1.5rem;
|
||||
}
|
||||
|
||||
.select-container i {
|
||||
padding-top: .25em;
|
||||
}
|
||||
|
||||
.select-container i,
|
||||
.select-container span {
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.select-style {
|
||||
border: 0;
|
||||
border-radius: 0px;
|
||||
height: 1.5rem;
|
||||
margin-left: 1.5rem;
|
||||
position: relative;
|
||||
height: 1.574em;
|
||||
overflow: hidden;
|
||||
top: -1.5rem;
|
||||
}
|
||||
|
||||
.select-style select {
|
||||
|
|
Loading…
Reference in a new issue