aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/MainLayout.vue
diff options
context:
space:
mode:
authorzeroinformatique2023-03-26 19:46:10 +0200
committerGitHub2023-03-26 19:46:10 +0200
commit713103575e5ee58fec6fdf5e65975a284807327f (patch)
tree378cc58f28d722aab4ab27684847648e7d273681 /viewer/src/views/MainLayout.vue
parent64f3ee483b2148c773a404ca296836f7259a9670 (diff)
parentca9cb0d767c6dda5e73290d588d4d21b30adf198 (diff)
downloadldgallery-713103575e5ee58fec6fdf5e65975a284807327f.tar.gz
Merge pull request #361 from ldgallery/oz-fix-txt-scroll
viewer: cannot scroll in text viewer
Diffstat (limited to 'viewer/src/views/MainLayout.vue')
-rw-r--r--viewer/src/views/MainLayout.vue8
1 files changed, 8 insertions, 0 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue
index 30bfe97..5cac863 100644
--- a/viewer/src/views/MainLayout.vue
+++ b/viewer/src/views/MainLayout.vue
@@ -128,6 +128,14 @@ function validateSpashScreen() {
128 left: var(--layout-left); 128 left: var(--layout-left);
129 z-index: 3; 129 z-index: 3;
130 overflow-x: hidden; 130 overflow-x: hidden;
131
132 // Forbid overflow when resizing.
133 // Necessary for the resize handle to be selectable on qutebrowser.
134 max-width: calc(100% - var(--layout-left) - $scrollbar-width);
135 margin: 0 auto; // Center
136 resize: horizontal;
137 // ---
138
131 &:focus { 139 &:focus {
132 outline: none; 140 outline: none;
133 } 141 }