Skip to content

Commit 68538e7

Browse files
committed
home page spacing
1 parent 837e3ef commit 68538e7

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

site_jaspr/lib/components/homepage_layout.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class HomepageLayout extends PageLayoutBase {
192192
css('.blog-section', [
193193
css('&').styles(
194194
display: Display.flex,
195-
padding: Padding.symmetric(horizontal: 3.rem, vertical: 4.rem),
195+
padding: Padding.only(top: 4.rem, bottom: 6.5.rem, left: 3.rem, right: 3.rem),
196196
flexDirection: FlexDirection.column,
197197
alignItems: AlignItems.center,
198198
gap: Gap(row: 0.5.rem),
@@ -228,18 +228,20 @@ class HomepageLayout extends PageLayoutBase {
228228
display: Display.flex,
229229
flexDirection: FlexDirection.column,
230230
alignItems: AlignItems.start,
231-
gap: Gap(row: 0.75.rem),
231+
gap: Gap(row: 1.rem),
232232
lineHeight: 1.5.rem,
233233
),
234234
css('h2').styles(
235235
color: Color('#1c1e21'),
236236
fontSize: 1.5.rem,
237237
fontWeight: FontWeight.w600,
238+
lineHeight: 2.rem,
238239
),
239240
css('p').styles(color: Color('#1c1e21')),
240241
]),
241242
css('.blog-link', [
242243
css('&').styles(
244+
margin: Margin.only(top: 0.3.rem),
243245
color: Color('#2a48df'),
244246
fontWeight: FontWeight.bold,
245247
textDecoration: TextDecoration.none,

0 commit comments

Comments
 (0)