Procházet zdrojové kódy

Center room title on mobile

Owen Diffey před 8 roky
rodič
revize
31446ddea7

+ 5 - 0
frontend/components/Station/CommunityHeader.vue

@@ -222,6 +222,11 @@
     align-items: center;
 		color: $blue;
 		font-size: 22px;
+		position: absolute;
+		margin: auto;
+		top: 50%;
+		left: 50%;
+		transform: translate(-50%, -50%);
 	}
 
 	.nav-right.is-active .nav-item {

+ 5 - 0
frontend/components/Station/OfficialHeader.vue

@@ -226,6 +226,11 @@
     align-items: center;
 		color: $blue;
 		font-size: 22px;
+		position: absolute;
+		margin: auto;
+		top: 50%;
+		left: 50%;
+		transform: translate(-50%, -50%);
 	}
 
 	.nav-right.is-active .nav-item {