Fix some bugs

This commit is contained in:
Schmelczer András 2020-01-12 20:26:32 +01:00
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
View file

12
src/page/theme-switcher/theme-switcher.scss Normal file → Executable file
View 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
View file