Skip to content

Commit 0ed4bfb

Browse files
committed
fix: 🐛 Manage left and right padding on small screen widths
Fixes #7 Predefined as a custom property of 1rem, but can be cusomized when a component is declared
1 parent 616c69c commit 0ed4bfb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/globals/scss/_variables.scss

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ $modular-scale-ratio: 1.25;
108108

109109

110110
// Layout variables for Bourbon Neat
111+
$pixel-width: 1080;
112+
$padded-width: calc($pixel-width - 20);
111113
$browser-context: 16;
112-
$max-width: #{math.div(1080,$browser-context)}rem;
114+
$max-width: #{math.div($pixel-width,$browser-context)}rem;
113115
$grids-columns: 12;
114116
$column: 12;
115117
$gutter: 1em;

src/globals/ucsc-trss.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ $value in $colors {
3838
--border-radius: 0;
3939

4040
/* Layout */
41-
--trss-content-width: 72rem;
41+
--trss-content-width: 80rem;
42+
--trss-content-padding: 1rem;
4243
}
4344

4445

0 commit comments

Comments
 (0)