Pārlūkot izejas kodu

fix: colour/background colour of toasts in night mode

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 4 gadi atpakaļ
vecāks
revīzija
438076c30e
1 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. 6 4
      frontend/src/App.vue

+ 6 - 4
frontend/src/App.vue

@@ -186,8 +186,12 @@ export default {
 	}
 
 	#toasts-container .toast {
-		background-color: #ddd;
 		color: #333;
+		background-color: $light-grey-2 !important;
+
+		&:last-of-type {
+			background-color: $light-grey !important;
+		}
 	}
 }
 
@@ -201,12 +205,10 @@ body.night-mode {
 	.toast {
 		font-weight: 600;
 		background-color: $dark-grey !important;
+
 		&:last-of-type {
 			background-color: $dark-grey-2 !important;
 		}
-		&:not(:first-of-type) {
-			margin-top: 5px;
-		}
 	}
 }