Forráskód Böngészése

Remove bottom border from last post, change padding on post container and last post

sbkwgh 8 éve
szülő
commit
30d8e5da60
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 2 2
      src/components/ThreadPost.vue
  2. 1 1
      src/components/routes/Thread.vue

+ 2 - 2
src/components/ThreadPost.vue

@@ -137,8 +137,8 @@
 		}
 
 		@at-root #{&}--last {
-			padding-bottom: 0.5rem;
-			border-bottom: thin solid $color__gray--primary;
+			border-bottom: none;
+			margin-bottom: 0;
 		}
 
 		@at-root #{&}__meta_data {

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

@@ -243,7 +243,7 @@
 	.posts {
 		width: 80%;
 		background-color: #fff;
-		padding: 1rem;
+		padding: 0.5rem 1rem;
 		border-radius: 0.25rem;
 	}
 </style>