Browse Source

Merge branch 'owen-minor-improvements' of https://github.com/odiffey/MusareNode into odiffey-owen-minor-improvements

Kristian Vos 3 years ago
parent
commit
84049df991
2 changed files with 5 additions and 14 deletions
  1. 2 1
      frontend/src/App.vue
  2. 3 13
      frontend/src/components/Modal.vue

+ 2 - 1
frontend/src/App.vue

@@ -540,6 +540,7 @@ a {
 
 .tippy-box[data-theme~="confirm"] {
 	background-color: var(--red);
+	border: 0;
 
 	.tippy-content {
 		padding: 0;
@@ -547,7 +548,7 @@ a {
 
 	a {
 		padding: 15px;
-		line-height: 25px;
+		line-height: 30px;
 		color: var(--white);
 		border-bottom: 0;
 		font-size: 15px;

+ 3 - 13
frontend/src/components/Modal.vue

@@ -105,24 +105,14 @@ p {
 	}
 }
 
-@media screen and (max-width: 600px) {
+@media screen and (max-width: 650px) {
 	.modal-card {
-		max-height: none;
-
-		.modal-card-body {
-			// padding: 0;
-		}
-
+		max-height: 100vh;
+		height: 100%;
 		.modal-card-head,
 		.modal-card-foot {
 			border-radius: 0;
 		}
 	}
 }
-
-@media screen and (max-height: 650px) {
-	.modal-card {
-		height: 100%;
-	}
-}
 </style>