Skip to content

Commit f415979

Browse files
authored
style(news): update profile layout to mobile-first column (#185)
* style(news): update profile layout to mobile-first column * bump stylesheet version
1 parent e57b654 commit f415979

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

web/themes/interledger/css/pages/news.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121

2222
@media screen and (max-width: 839px) {
23-
.news-listing li > div:not(.article-teaser-text) {
23+
.news-listing li>div:not(.article-teaser-text) {
2424
margin-block-end: var(--space-s);
2525
}
2626
}
@@ -37,7 +37,7 @@
3737
box-shadow: none;
3838
}
3939

40-
.news-listing li > div:not(.article-teaser-text) {
40+
.news-listing li>div:not(.article-teaser-text) {
4141
flex: none;
4242
}
4343

@@ -80,11 +80,18 @@
8080

8181
.news-profile {
8282
display: flex;
83+
flex-direction: column;
8384
gap: var(--space-xs);
8485
align-items: center;
8586
margin-block-end: var(--space-s);
8687
}
8788

89+
@media screen and (min-width: 480px) {
90+
.news-profile {
91+
flex-direction: row;
92+
}
93+
}
94+
8895
.news-profile:first-of-type {
8996
margin-block-start: var(--space-m);
9097
padding-block-start: var(--space-m);
@@ -100,4 +107,4 @@
100107
gap: var(--space-xs);
101108
list-style: none;
102109
padding-inline-start: 0;
103-
}
110+
}

web/themes/interledger/interledger.libraries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
global-styling:
2-
version: 1.7.2
2+
version: 1.7.3
33
css:
44
theme:
55
css/fonts.css: {}

0 commit comments

Comments
 (0)