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,6 +1,6 @@
|
||||||
.theme-toggle {
|
.theme-toggle {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 102px;
|
width: $base-font-size * 7.65;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
margin-right: 60px;
|
margin-right: 60px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
@ -69,7 +69,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-query($on-palm) {
|
@include media-query($on-palm) {
|
||||||
width: 94px;
|
width: $base-font-size * 6.65;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
|
||||||
.names {
|
.names {
|
||||||
|
|
Loading…
Reference in a new issue