diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2022-09-02 12:02:45 +0300 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2022-09-06 15:44:54 +0300 |
commit | 5dae5284c4dfcf80c5c8a71c932b0461092e3406 (patch) | |
tree | 1768c77e477896d0a21d7ca56a52df39e130b5c5 /src/nodes | |
parent | 3ef0743982416856b3e81c45aae198d4b090af3d (diff) |
better border management for image caption
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'src/nodes')
-rw-r--r-- | src/nodes/ImageView.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/nodes/ImageView.vue b/src/nodes/ImageView.vue index 1de4a8ceb..8351f9455 100644 --- a/src/nodes/ImageView.vue +++ b/src/nodes/ImageView.vue @@ -347,6 +347,11 @@ export default { background-color: transparent; border: none !important; color: var(--color-text-maxcontrast) !important; + + &:focus { + border: 2px solid var(--color-border-dark) !important; + color: var(--color-main-text) !important; + } } } @@ -366,8 +371,7 @@ export default { max-width: 100%; } - &:hover, - &:focus { + &:hover { input[type='text'] { border: 2px solid var(--color-border-dark) !important; color: var(--color-main-text) !important; |