Преглед на файлове

style(home feed): increase desktop side margins

Owen Diffey преди 5 години
родител
ревизия
3d0af2ed5f
променени са 1 файла, в които са добавени 9 реда и са изтрити 3 реда
  1. 9 3
      frontend/components/pages/Home.vue

+ 9 - 3
frontend/components/pages/Home.vue

@@ -338,8 +338,14 @@ html {
 	flex: 1;
 	flex-wrap: wrap;
 	justify-content: center;
-	margin-left: 10px;
-	margin-right: 10px;
+	margin-left: 50px;
+	margin-right: 50px;
+}
+@media screen and (max-width: 575px) {
+	.stations {
+		margin-left: 10px;
+		margin-right: 10px;
+	}
 }
 .stationCard {
 	display: inline-flex;
@@ -503,7 +509,7 @@ html {
 	transition: all ease-in-out 0.2s;
 }
 
-@media screen and (max-width: 490px) {
+@media screen and (max-width: 575px) {
 	.stationCard {
 		width: calc(100% - 20px);
 		height: auto;