Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Veyssier <eneiluj@posteo.net>2022-08-30 14:05:12 +0300
committerJulien Veyssier <eneiluj@posteo.net>2022-09-06 15:44:54 +0300
commit6f48e34dde15ff47c2dc4e29b588b03551717b19 (patch)
treefdaf5a856ce5958559adb40dddb286564ee134e5
parent670f383fa53feada4509fa26b672f9528cc8019a (diff)
image caption border
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
-rw-r--r--src/nodes/ImageView.vue12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue
index 218ef33c7..e1d9a19d1 100644
--- a/src/nodes/ImageView.vue
+++ b/src/nodes/ImageView.vue
@@ -347,10 +347,10 @@ export default {
input[type='text'] {
width: 200px;
max-width: 80%;
- border: none;
text-align: center;
- color: var(--color-text-maxcontrast) !important;
background-color: transparent;
+ border: none !important;
+ color: var(--color-text-maxcontrast) !important;
}
}
@@ -369,6 +369,14 @@ export default {
img {
max-width: 100%;
}
+
+ &:hover,
+ &:focus {
+ input[type='text'] {
+ border: 2px solid var(--color-border-dark) !important;
+ color: var(--color-main-text) !important;
+ }
+ }
}
.image__main {