perfect: made theme toggle dynamic size (#9)
* Made theme toggle dynamic size theme toggle now will break if font size is not default 14px * fix: made theme toggle dynamic size better Co-authored-by: JT <jeffreytse.mail@gmail.com>
This commit is contained in:
parent
50541e8d3d
commit
97ee863d09
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
.theme-toggle {
|
||||
position: relative;
|
||||
width: 102px;
|
||||
width: $base-font-size * 7.65;
|
||||
margin-top: 10px;
|
||||
margin-right: 60px;
|
||||
margin-left: auto;
|
||||
|
@ -69,7 +69,7 @@
|
|||
}
|
||||
|
||||
@include media-query($on-palm) {
|
||||
width: 94px;
|
||||
width: $base-font-size * 6.65;
|
||||
margin-right: 20px;
|
||||
|
||||
.names {
|
||||
|
|
Loading…
Reference in a new issue