Client - fix card position in small screens when adding workouts

This commit is contained in:
Sam 2022-04-08 18:07:45 +02:00
parent aae2769774
commit 11b24ab8d3

View File

@ -421,12 +421,6 @@
@import '~@/scss/vars.scss'; @import '~@/scss/vars.scss';
#workout-edition { #workout-edition {
@media screen and (max-width: $small-limit) {
&.center-form {
margin: 50px auto;
}
}
::v-deep(.card) { ::v-deep(.card) {
.card-title { .card-title {
text-align: center; text-align: center;
@ -516,5 +510,16 @@
} }
} }
} }
@media screen and (max-width: $small-limit) {
margin-bottom: 0;
&.center-form {
margin: 50px auto;
}
&.with-margin {
margin-top: 0;
}
}
} }
</style> </style>