mirror of
https://github.com/gotson/komga.git
synced 2025-12-22 00:13:30 +01:00
fix(webui): fix metadata dialogs on xs screens
This commit is contained in:
parent
4566877908
commit
112837a163
4 changed files with 19 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[*.{js, jsx, ts, tsx, vue}]
|
||||
[*.{js, jsx, ts, tsx, vue, sass}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
trim_trailing_whitespace = true
|
||||
|
|
|
|||
|
|
@ -34,8 +34,7 @@
|
|||
</v-tab>
|
||||
|
||||
<!-- Tab: General -->
|
||||
<v-tab-item
|
||||
:style="$vuetify.breakpoint.smAndUp ? `max-height: ${$vuetify.breakpoint.height * .5}px;overflow-y: scroll` : ''">
|
||||
<v-tab-item>
|
||||
<v-card flat>
|
||||
<v-container fluid>
|
||||
|
||||
|
|
@ -229,8 +228,7 @@
|
|||
</v-tab-item>
|
||||
|
||||
<!-- Tab: Authors -->
|
||||
<v-tab-item
|
||||
:style="$vuetify.breakpoint.smAndUp ? `max-height: ${$vuetify.breakpoint.height * .5}px;overflow-y: scroll` : ''">
|
||||
<v-tab-item>
|
||||
<v-card flat>
|
||||
<v-container fluid>
|
||||
<v-alert v-if="!single"
|
||||
|
|
@ -576,6 +574,6 @@ export default Vue.extend({
|
|||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
<style lang="sass" scoped>
|
||||
@import '../styles/tabbed-dialog.sass'
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -30,9 +30,7 @@
|
|||
</v-tab>
|
||||
|
||||
<!-- General -->
|
||||
<v-tab-item
|
||||
:style="$vuetify.breakpoint.smAndUp ? `max-height: ${$vuetify.breakpoint.height * .5}px;overflow-y: scroll` : ''"
|
||||
>
|
||||
<v-tab-item>
|
||||
<v-card flat>
|
||||
<v-container fluid>
|
||||
|
||||
|
|
@ -298,6 +296,6 @@ export default Vue.extend({
|
|||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
<style lang="sass" scoped>
|
||||
@import '../styles/tabbed-dialog.sass'
|
||||
</style>
|
||||
|
|
|
|||
11
komga-webui/src/styles/tabbed-dialog.sass
Normal file
11
komga-webui/src/styles/tabbed-dialog.sass
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
@import '~vuetify/src/styles/styles.sass'
|
||||
|
||||
@media #{map-get($display-breakpoints, 'xs-only')}
|
||||
.v-tabs-items .v-window-item
|
||||
height: calc(100vh - 104px)
|
||||
overflow-y: scroll
|
||||
|
||||
@media #{map-get($display-breakpoints, 'sm-and-up')}
|
||||
.v-tabs-items .v-window-item
|
||||
max-height: 50vh
|
||||
overflow-y: scroll
|
||||
Loading…
Reference in a new issue