poprawki responsywności

This commit is contained in:
2023-11-28 17:56:08 +01:00
parent 86417f3422
commit 1947555724
3 changed files with 29 additions and 9 deletions
+18
View File
@@ -45,6 +45,8 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
@import '../../styles/responsive.scss';
.body {
position: fixed;
top: 0;
@@ -79,5 +81,21 @@ export default defineComponent({
width: 95%;
max-width: 800px;
max-height: 95vh;
& > :slotted(div) {
max-height: 95vh;
}
}
@include smallScreen {
.wrapper {
top: 0;
transform: translate(-50%, 1em);
max-height: 90vh;
& > :slotted(div) {
max-height: 90vh;
}
}
}
</style>
+7 -3
View File
@@ -141,7 +141,7 @@ export default defineComponent({
display: grid;
grid-template-rows: 1fr auto;
gap: 1em;
max-height: 95vh;
font-size: 1.1em;
& > div {
@@ -172,8 +172,12 @@ export default defineComponent({
}
.modal_actions {
display: flex;
justify-content: flex-end;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(13em, 1fr));
gap: 0.5em;
form button {
width: 100%;
}
}
</style>
+4 -6
View File
@@ -389,18 +389,16 @@ $rowCol: #424242;
}
}
section.station_table {
overflow: auto;
overflow-y: hidden;
font-weight: 500;
}
table {
white-space: nowrap;
border-collapse: collapse;
// min-width: 1350px;
width: 100%;
overflow: auto;
overflow-y: hidden;
font-weight: 500;
@include smallScreen() {
min-width: auto;
}