Ver Fonte

Use flex positioning

sbkwgh há 8 anos atrás
pai
commit
b35330bce8
1 ficheiros alterados com 2 adições e 3 exclusões
  1. 2 3
      src/components/routes/AdminDashboard.vue

+ 2 - 3
src/components/routes/AdminDashboard.vue

@@ -50,7 +50,8 @@
 			background-color: #fff;
 			border-radius: 0.25rem;
 			flex: 1;
-			position: relative;
+			display: flex;
+			flex-direction: column;
 
 			@extend .shadow_border;
 
@@ -61,8 +62,6 @@
 			}
 
 			@at-root #{&}__title {
-				position: absolute;
-				bottom: 0;
 				background-color: $color__gray--primary;
 				width: 100%;
 				padding: 0.25rem 0.35rem;