diff options
author | Zéro~Informatique | 2023-03-26 18:14:13 +0200 |
---|---|---|
committer | Zéro~Informatique | 2023-03-26 18:14:13 +0200 |
commit | 1f92cc4f17debdb6991a7f388f8e313d461744ff (patch) | |
tree | 5e8695d5d4f82efcee0057b5fbfc233fa160a28d /viewer/src/views/MainLayout.vue | |
parent | fd5f97a5b688096ada9d34459bab42c417eec82b (diff) | |
download | ldgallery-1f92cc4f17debdb6991a7f388f8e313d461744ff.tar.gz |
viewer: cannot scroll in text viewer
- Horizontal resize is now available everywhere in LdGallery
- Increased slightly the PlainText font size for easier read
Diffstat (limited to 'viewer/src/views/MainLayout.vue')
-rw-r--r-- | viewer/src/views/MainLayout.vue | 8 |
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 | } |