Fix some bugs
This commit is contained in:
parent
1893b774e7
commit
fd14613db7
123 changed files with 187 additions and 31 deletions
0
src/page/theme-switcher/theme-switcher.html.ts
Normal file → Executable file
0
src/page/theme-switcher/theme-switcher.html.ts
Normal file → Executable file
12
src/page/theme-switcher/theme-switcher.scss
Normal file → Executable file
12
src/page/theme-switcher/theme-switcher.scss
Normal file → Executable file
|
|
@ -3,9 +3,15 @@
|
|||
@include responsive using($vars) {
|
||||
input[type='checkbox']#theme-switcher {
|
||||
@include on-large-screen {
|
||||
position: fixed;
|
||||
top: map_get($vars, $normal-margin);
|
||||
right: map_get($vars, $normal-margin);
|
||||
position: absolute;
|
||||
top: -1 * map_get($vars, $small-margin);
|
||||
right: calc(
|
||||
-1 * (50vw - #{map_get($vars, $body-width)} / 2) + #{map_get(
|
||||
$vars,
|
||||
$normal-margin
|
||||
)}
|
||||
);
|
||||
transform: translateY(-100%);
|
||||
}
|
||||
|
||||
@include on-small-screen {
|
||||
|
|
|
|||
0
src/page/theme-switcher/theme-switcher.ts
Normal file → Executable file
0
src/page/theme-switcher/theme-switcher.ts
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue