Procházet zdrojové kódy

Fix last-child border

sbkwgh před 8 roky
rodič
revize
18a8ac3504
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  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;