]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
fix border radius on last-child of list
authorcoolbezos_420 <ehnevault@gmail.com>
Wed, 3 Apr 2019 08:00:26 +0000 (19:00 +1100)
committerJeremy Thomas <bbxdesign@gmail.com>
Fri, 17 May 2019 09:26:13 +0000 (10:26 +0100)
to fix #2435 issue

sass/components/list.sass

index eccd034b53308c144af73916c4fd174678fd7053..e09b551b9a698a60b8e96a14b428d088f5e25a35 100644 (file)
@@ -26,8 +26,8 @@ $list-item-hover-background-color: $background !default
     border-top-left-radius: $list-radius
     border-top-right-radius: $list-radius
   &:last-child
-    border-top-left-radius: $list-radius
-    border-top-right-radius: $list-radius
+    border-bottom-left-radius: $list-radius
+    border-bottom-right-radius: $list-radius
   &:not(:last-child)
     border-bottom: $list-item-border
   &.is-active
@@ -36,4 +36,4 @@ $list-item-hover-background-color: $background !default
 
 a.list-item
   background-color: $list-item-hover-background-color
-  cursor: pointer
\ No newline at end of file
+  cursor: pointer