Quellcode durchsuchen

Fix last-child border

sbkwgh vor 8 Jahren
Ursprung
Commit
18a8ac3504
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 4 4
      src/components/routes/Thread.vue

+ 4 - 4
src/components/routes/Thread.vue

@@ -71,16 +71,16 @@
 
 	.posts {
 		width: 80%;
+
+		&:last-child {
+			border-bottom: thin solid $color__gray--primary;
+		}
 	}
 
 	.post {
 		border-top: thin solid $color__gray--primary;
 		margin: 0.5rem 0;
 
-		&::last-child {
-			border-bottom: thin solid $color__gray--primary;
-		}
-
 		@at-root #{&}__meta_data {
 			display: flex;
 			padding-top: 0.75rem;