diff options
author | Azri Kahar <42867097+azrikahar@users.noreply.github.com> | 2021-06-24 09:05:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 09:05:13 +0800 |
commit | f9ebff9311ded76afde3d2001fbba671f8ee09c2 (patch) | |
tree | a8df24ff48a80a5d630252e981a74460cbac629a /src | |
parent | 996011956b97566849167ccd6ec470ab38b0ec60 (diff) | |
download | homer-f9ebff9311ded76afde3d2001fbba671f8ee09c2.tar.gz homer-f9ebff9311ded76afde3d2001fbba671f8ee09c2.tar.zst homer-f9ebff9311ded76afde3d2001fbba671f8ee09c2.zip |
fix card border radius when it's the only child
Diffstat (limited to 'src')
-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 48c60ae..924b85a 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 | } |