diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2021-07-14 02:23:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 02:23:39 -0700 |
commit | f9cc1d27cc295498cc04b6965b88a366da7122e5 (patch) | |
tree | 901edb88420803203fbaaedde4a2b483f47bee9d /src/assets | |
parent | f5b467f93349b326e832bcd92b29a854bb737c57 (diff) | |
parent | f9ebff9311ded76afde3d2001fbba671f8ee09c2 (diff) | |
download | homer-f9cc1d27cc295498cc04b6965b88a366da7122e5.tar.gz homer-f9cc1d27cc295498cc04b6965b88a366da7122e5.tar.zst homer-f9cc1d27cc295498cc04b6965b88a366da7122e5.zip |
Merge pull request #239 from azrikahar/patch-1
fix card border radius when it's the only child
Diffstat (limited to 'src/assets')
-rw-r--r-- | src/assets/app.scss | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/assets/app.scss b/src/assets/app.scss index d94a068..6bb5068 100644 --- a/src/assets/app.scss +++ b/src/assets/app.scss | |||
@@ -224,7 +224,6 @@ body { | |||
224 | } | 224 | } |
225 | 225 | ||
226 | .card { | 226 | .card { |
227 | border-radius: 5px; | ||
228 | border: none; | 227 | border: none; |
229 | box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); | 228 | box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1); |
230 | transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; | 229 | transition: cubic-bezier(0.165, 0.84, 0.44, 1) 300ms; |
@@ -260,11 +259,13 @@ body { | |||
260 | } | 259 | } |
261 | 260 | ||
262 | .column div:first-of-type .card { | 261 | .column div:first-of-type .card { |
263 | border-radius: 5px 5px 0 0; | 262 | border-top-left-radius: 0.25rem; |
263 | border-top-right-radius: 0.25rem; | ||
264 | } | 264 | } |
265 | 265 | ||
266 | .column div:last-child .card { | 266 | .column div:last-child .card { |
267 | border-radius: 0 0 5px 5px; | 267 | border-bottom-left-radius: 0.25rem; |
268 | border-bottom-right-radius: 0.25rem; | ||
268 | } | 269 | } |
269 | } | 270 | } |
270 | 271 | ||
@@ -348,4 +349,4 @@ body { | |||
348 | 349 | ||
349 | .group-logo { | 350 | .group-logo { |
350 | float: left; | 351 | float: left; |
351 | } \ No newline at end of file | 352 | } |