Selaa lähdekoodia

fix: small issue with border of last column in reports admin tab

Kristian Vos 3 vuotta sitten
vanhempi
commit
3acfdb1e7c
1 muutettua tiedostoa jossa 18 lisäystä ja 13 poistoa
  1. 18 13
      frontend/src/pages/Admin/tabs/News.vue

+ 18 - 13
frontend/src/pages/Admin/tabs/News.vue

@@ -32,15 +32,19 @@
 						</td>
 						<td class="news-item-markdown">{{ news.markdown }}</td>
 						<td id="options-column">
-							<button
-								class="button is-primary"
-								@click="edit(news._id)"
-							>
-								Edit
-							</button>
-							<confirm @confirm="remove(news._id)">
-								<button class="button is-danger">Remove</button>
-							</confirm>
+							<div>
+								<button
+									class="button is-primary"
+									@click="edit(news._id)"
+								>
+									Edit
+								</button>
+								<confirm @confirm="remove(news._id)">
+									<button class="button is-danger">
+										Remove
+									</button>
+								</confirm>
+							</div>
 						</td>
 					</tr>
 				</tbody>
@@ -208,10 +212,11 @@ td {
 }
 
 #options-column {
-	display: flex;
-
-	button {
-		margin-right: 5px;
+	> div {
+		display: flex;
+		button {
+			margin-right: 5px;
+		}
 	}
 }
 </style>