mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
(Fix) Header/Layout: revert change from calc to padding since it affects too many other things
This commit is contained in:
parent
33fd77f796
commit
826dd028f2
2 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@
|
|||
.hero {
|
||||
position: relative;
|
||||
min-height: 600px;
|
||||
padding: 0 $size-gutter;
|
||||
color: $white;
|
||||
|
||||
&__title, &__lead, &__text {
|
||||
|
|
|
@ -7,7 +7,7 @@ body {
|
|||
|
||||
.content {
|
||||
width: $content-max-width;
|
||||
padding: 0 $size-gutter;
|
||||
max-width: calc(100% - 40px); // TODO: Refactor this. Use padding on container instead
|
||||
@media (max-width: 1024px) {
|
||||
max-width: 96.1%; // at 1024px 40px is 3.9% of screen width
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue