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> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../styles/responsive.scss';
.body { .body {
position: fixed; position: fixed;
top: 0; top: 0;
@@ -79,5 +81,21 @@ export default defineComponent({
width: 95%; width: 95%;
max-width: 800px; max-width: 800px;
max-height: 95vh; 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> </style>
+7 -3
View File
@@ -141,7 +141,7 @@ export default defineComponent({
display: grid; display: grid;
grid-template-rows: 1fr auto; grid-template-rows: 1fr auto;
gap: 1em; gap: 1em;
max-height: 95vh;
font-size: 1.1em; font-size: 1.1em;
& > div { & > div {
@@ -172,8 +172,12 @@ export default defineComponent({
} }
.modal_actions { .modal_actions {
display: flex; display: grid;
justify-content: flex-end; grid-template-columns: repeat(auto-fit, minmax(13em, 1fr));
gap: 0.5em; gap: 0.5em;
form button {
width: 100%;
}
} }
</style> </style>
+4 -6
View File
@@ -389,18 +389,16 @@ $rowCol: #424242;
} }
} }
section.station_table {
overflow: auto;
overflow-y: hidden;
font-weight: 500;
}
table { table {
white-space: nowrap; white-space: nowrap;
border-collapse: collapse; border-collapse: collapse;
// min-width: 1350px; // min-width: 1350px;
width: 100%; width: 100%;
overflow: auto;
overflow-y: hidden;
font-weight: 500;
@include smallScreen() { @include smallScreen() {
min-width: auto; min-width: auto;
} }