Make body width more responsive
This commit is contained in:
parent
eb16cda173
commit
b1d3639794
3 changed files with 10 additions and 13 deletions
|
|
@ -3,9 +3,9 @@
|
|||
#theme-switcher {
|
||||
@include on-large-screen {
|
||||
position: absolute;
|
||||
top: calc(-1 * var(--small-margin));
|
||||
right: calc(-1 * (50vw - var(--body-width) / 2) + var(--normal-margin));
|
||||
transform: translateY(-100%);
|
||||
top: calc(-1 * var(--normal-margin));
|
||||
left: calc(50% + 50vw);
|
||||
transform: translateX(calc(-100% - var(--normal-margin))) translateY(-50%);
|
||||
}
|
||||
|
||||
@include on-small-screen {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue