diff options
author | Kristóf Marussy <kristof@marussy.com> | 2024-03-17 01:40:02 +0100 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2024-03-17 01:40:02 +0100 |
commit | ab3eb82645ad94751c81a2a3de356bf0145f5ce3 (patch) | |
tree | d4d7ac49b9d02975f3130bd289c5f43971a65e98 /src | |
parent | Reduce hero spacing on small screens (diff) | |
download | blog-ab3eb82645ad94751c81a2a3de356bf0145f5ce3.tar.gz blog-ab3eb82645ad94751c81a2a3de356bf0145f5ce3.tar.zst blog-ab3eb82645ad94751c81a2a3de356bf0145f5ce3.zip |
Fix research topic spacing on mobile
Diffstat (limited to 'src')
-rw-r--r-- | src/components/landing/sections/Research.module.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/landing/sections/Research.module.css b/src/components/landing/sections/Research.module.css index c5c87a4..aa4cf1c 100644 --- a/src/components/landing/sections/Research.module.css +++ b/src/components/landing/sections/Research.module.css | |||
@@ -6,10 +6,12 @@ | |||
6 | 6 | ||
7 | .topics { | 7 | .topics { |
8 | margin-top: 1.5rem; | 8 | margin-top: 1.5rem; |
9 | margin-bottom: -1.5rem; | ||
9 | } | 10 | } |
10 | 11 | ||
11 | .topic { | 12 | .topic { |
12 | container-type: inline-size; | 13 | container-type: inline-size; |
14 | margin-bottom: 1.5rem; | ||
13 | } | 15 | } |
14 | 16 | ||
15 | .topic__contents { | 17 | .topic__contents { |
@@ -72,7 +74,6 @@ | |||
72 | 74 | ||
73 | @container (min-width: 450px) { | 75 | @container (min-width: 450px) { |
74 | .topic .topic__contents { | 76 | .topic .topic__contents { |
75 | margin: 0.625rem 0; | ||
76 | flex-direction: row; | 77 | flex-direction: row; |
77 | gap: 1rem; | 78 | gap: 1rem; |
78 | } | 79 | } |