mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 06:20:21 +00:00
fix(modals): update card height styles to include max-height for better responsiveness
This commit is contained in:
1 parent
4ed770d299
commit
cdd7d14d4c
20 files changed
+73
-24
No files matched your search
@@ -8,7 +8,7 @@
|
|||||||
>
|
>
|
||||||
<W-loadable :content="blocker" class="h-100">
|
<W-loadable :content="blocker" class="h-100">
|
||||||
<v-card
|
<v-card
|
||||||
style="position: relative; height: 100%"
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
class="d-flex flex-column"
|
class="d-flex flex-column"
|
||||||
>
|
>
|
||||||
<div class="d-flex justify-space-between align-center modal-header">
|
<div class="d-flex justify-space-between align-center modal-header">
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>
|
<h1>
|
||||||
Ste si istý, že chcete zmazať <b>{{ blocker.name }}</b
|
Ste si istý, že chcete zmazať <b>{{ blocker.name }}</b
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>
|
<h1>
|
||||||
Ste si istý, že chcete
|
Ste si istý, že chcete
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>
|
<h1>
|
||||||
Ste si istý, že chcete zmazať <b>{{ mastertask.name }}</b
|
Ste si istý, že chcete zmazať <b>{{ mastertask.name }}</b
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1 class="text-h5">Chcete túto osobu odstrániť z tímu?</h1>
|
<h1 class="text-h5">Chcete túto osobu odstrániť z tímu?</h1>
|
||||||
<div class="d-flex align-start">
|
<div class="d-flex align-start">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<W-loadable :content="mastertask" class="h-100">
|
<W-loadable :content="mastertask" class="h-100">
|
||||||
<v-card
|
<v-card
|
||||||
v-if="editMode"
|
v-if="editMode"
|
||||||
style="position: relative; height: 100%"
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
class="d-flex flex-column scrolling"
|
class="d-flex flex-column scrolling"
|
||||||
>
|
>
|
||||||
<div class="d-flex justify-space-between align-center modal-header">
|
<div class="d-flex justify-space-between align-center modal-header">
|
||||||
@@ -248,7 +248,7 @@
|
|||||||
|
|
||||||
<v-card
|
<v-card
|
||||||
v-else
|
v-else
|
||||||
style="position: relative; height: 100%"
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
class="d-flex flex-column scrolling"
|
class="d-flex flex-column scrolling"
|
||||||
>
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>Vytvoriť</h1>
|
<h1>Vytvoriť</h1>
|
||||||
<div class="d-flex align-start">
|
<div class="d-flex align-start">
|
||||||
|
|||||||
@@ -58,7 +58,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>Pridať odpracovaný čas</h1>
|
<h1>Pridať odpracovaný čas</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@
|
|||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card
|
<v-card
|
||||||
style="position: relative; height: 100%"
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
class="add-timeblock-modal"
|
class="add-timeblock-modal"
|
||||||
>
|
>
|
||||||
<div class="d-flex justify-space-between align-center pa-4">
|
<div class="d-flex justify-space-between align-center pa-4">
|
||||||
@@ -140,7 +140,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1 class="text-red">
|
<h1 class="text-red">
|
||||||
Ste si istý, že chcete pridať timeblock po deadline <br />
|
Ste si istý, že chcete pridať timeblock po deadline <br />
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>
|
<h1>
|
||||||
Ste si istý, že chcete
|
Ste si istý, že chcete
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>
|
<h1>
|
||||||
Ste si istý, že chcete zmazať sub task z mastertasku
|
Ste si istý, že chcete zmazať sub task z mastertasku
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h4 class="mt-3">Vyberte časový úsek, ktorý chcete odstrániť</h4>
|
<h4 class="mt-3">Vyberte časový úsek, ktorý chcete odstrániť</h4>
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>
|
<h1>
|
||||||
Naozaj chcete odstrániť tohto zamestnanca a všetky jeho timeblocks?
|
Naozaj chcete odstrániť tohto zamestnanca a všetky jeho timeblocks?
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>Naozaj chcete odstrániť tento timeblock?</h1>
|
<h1>Naozaj chcete odstrániť tento timeblock?</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>Pridať odpracovaný čas</h1>
|
<h1>Pridať odpracovaný čas</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
v-if="editMode"
|
v-if="editMode"
|
||||||
height="100%"
|
height="100%"
|
||||||
class="d-flex flex-column scrolling"
|
class="d-flex flex-column scrolling"
|
||||||
style="position: relative; height: 100%"
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
>
|
>
|
||||||
<div class="d-flex justify-space-between align-center modal-header">
|
<div class="d-flex justify-space-between align-center modal-header">
|
||||||
<h1>{{ subtask?.id ? 'Upraviť sub task' : 'Vytvoriť sub task' }}</h1>
|
<h1>{{ subtask?.id ? 'Upraviť sub task' : 'Vytvoriť sub task' }}</h1>
|
||||||
@@ -196,7 +196,7 @@
|
|||||||
v-else
|
v-else
|
||||||
height="100%"
|
height="100%"
|
||||||
class="d-flex flex-column scrolling"
|
class="d-flex flex-column scrolling"
|
||||||
style="position: relative; height: 100%"
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
>
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>Sub Task má nedokončené úlohy</h1>
|
<h1>Sub Task má nedokončené úlohy</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1 v-if="mode === 'edit'">
|
<h1 v-if="mode === 'edit'">
|
||||||
Sub Task zosynchronizovaný z Office365 sa nedá upravovat. Upravte ho
|
Sub Task zosynchronizovaný z Office365 sa nedá upravovat. Upravte ho
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
persistent
|
persistent
|
||||||
:retain-focus="false"
|
:retain-focus="false"
|
||||||
>
|
>
|
||||||
<v-card style="position: relative; height: 100%">
|
<v-card
|
||||||
|
style="position: relative; height: 100%; max-height: calc(100vh - 48px)"
|
||||||
|
>
|
||||||
<div class="d-flex justify-space-between align-center">
|
<div class="d-flex justify-space-between align-center">
|
||||||
<h1>
|
<h1>
|
||||||
Ste si istý, že chcete zmazať tím <b>{{ team.name }}</b
|
Ste si istý, že chcete zmazať tím <b>{{ team.name }}</b
|
||||||
|
|||||||
@@ -9,7 +9,11 @@
|
|||||||
<W-loadable :content="team" class="h-100">
|
<W-loadable :content="team" class="h-100">
|
||||||
<v-card
|
<v-card
|
||||||
class="d-flex flex-column"
|
class="d-flex flex-column"
|
||||||
style="position: relative; height: 100%"
|
style="
|
||||||
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
max-height: calc(100vh - 48px);
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<div class="d-flex justify-space-between align-center modal-header">
|
<div class="d-flex justify-space-between align-center modal-header">
|
||||||
<h1>{{ team.id ? 'Upraviť tím' : 'Vytvoriť tím' }}</h1>
|
<h1>{{ team.id ? 'Upraviť tím' : 'Vytvoriť tím' }}</h1>
|
||||||
@@ -19,7 +23,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<v-card-actions class="d-flex flex-column modal-content">
|
<v-card-actions
|
||||||
|
ref="modalContent"
|
||||||
|
class="d-flex flex-column modal-content"
|
||||||
|
>
|
||||||
<v-text-field
|
<v-text-field
|
||||||
v-model="team.name"
|
v-model="team.name"
|
||||||
class="modal-input"
|
class="modal-input"
|
||||||
@@ -153,6 +160,16 @@ export default {
|
|||||||
this.team.employees.push(employee);
|
this.team.employees.push(employee);
|
||||||
this.employeeSelect = null;
|
this.employeeSelect = null;
|
||||||
this.$refs.autocomplete.search = '';
|
this.$refs.autocomplete.search = '';
|
||||||
|
|
||||||
|
// Scroll to bottom after adding employee
|
||||||
|
this.$nextTick(() => {
|
||||||
|
if (this.$refs.modalContent) {
|
||||||
|
this.$refs.modalContent.$el.scrollTo({
|
||||||
|
top: this.$refs.modalContent.$el.scrollHeight,
|
||||||
|
behavior: 'smooth',
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user