diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-08-30 14:05:12 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-09-06 15:44:54 +0300 |
commit | 6f48e34dde15ff47c2dc4e29b588b03551717b19 (patch) | |
tree | fdaf5a856ce5958559adb40dddb286564ee134e5 /src | |
parent | 670f383fa53feada4509fa26b672f9528cc8019a (diff) |
image caption border
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/nodes/ImageView.vue | 12 |
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 { |