Skip to content

Commit

Permalink
fix: mobile and ultrawide views
Browse files Browse the repository at this point in the history
  • Loading branch information
lxndrblz committed Mar 6, 2022
1 parent a9d3b1d commit 799d134
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 12 deletions.
15 changes: 11 additions & 4 deletions assets/scss/partials/components/_wrapper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@
&__main {
width: 100%;

&--sidebarhidden {
margin-top: 20px;
}

@include desktop_and_print {
width: $content-width;
&--sidebarhidden {
margin-top: 0px;
width: 100%;
}
}

@include widescreen {
width: calc(#{$content-ratio} * 80%);
}

&--sidebarhidden {
width: 100%;
&--sidebarhidden {
width: $body-max-width;
}
}
}

Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"scss/main.rtl.min.b18ec4bebe7dec033a3938c703e3999fffd65088376baf653784e724cf7a853f.css","MediaType":"text/css","Data":{"Integrity":"sha256-sY7Evr597AM6OTjHA+OZn//WUIg3a69lN4TnJM96hT8="}}
{"Target":"scss/main.rtl.min.db002b9a1409bb590da741add871b516ac2c1108d7430b11326f7ac6a62687be.css","MediaType":"text/css","Data":{"Integrity":"sha256-2wArmhQJu1kNp0Gt2HG1FqwsEQjXQwsRMm96xqYmh74="}}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"scss/main.min.b28b1ec8b3eb3938701c025f40f5401480195fb6cf744f427e2116d27d34ec3d.css","MediaType":"text/css","Data":{"Integrity":"sha256-soseyLPrOThwHAJfQPVAFIAZX7bPdE9CfiEW0n007D0="}}
{"Target":"scss/main.min.78d1c9d08184b06ba51ca4c35ce6e56291283b37bc1f1f4c9fbdcf9bae43571d.css","MediaType":"text/css","Data":{"Integrity":"sha256-eNHJ0IGEsGulHKTDXOblYpEoOze8Hx9Mn73Pm65DVx0="}}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"scss/main.rtl.min.b18ec4bebe7dec033a3938c703e3999fffd65088376baf653784e724cf7a853f.css","MediaType":"text/css","Data":{"Integrity":"sha256-sY7Evr597AM6OTjHA+OZn//WUIg3a69lN4TnJM96hT8="}}
{"Target":"scss/main.rtl.min.db002b9a1409bb590da741add871b516ac2c1108d7430b11326f7ac6a62687be.css","MediaType":"text/css","Data":{"Integrity":"sha256-2wArmhQJu1kNp0Gt2HG1FqwsEQjXQwsRMm96xqYmh74="}}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"scss/main.min.b28b1ec8b3eb3938701c025f40f5401480195fb6cf744f427e2116d27d34ec3d.css","MediaType":"text/css","Data":{"Integrity":"sha256-soseyLPrOThwHAJfQPVAFIAZX7bPdE9CfiEW0n007D0="}}
{"Target":"scss/main.min.78d1c9d08184b06ba51ca4c35ce6e56291283b37bc1f1f4c9fbdcf9bae43571d.css","MediaType":"text/css","Data":{"Integrity":"sha256-eNHJ0IGEsGulHKTDXOblYpEoOze8Hx9Mn73Pm65DVx0="}}

0 comments on commit 799d134

Please sign in to comment.