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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/components/content_editor.scss')
-rw-r--r--app/assets/stylesheets/components/content_editor.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/stylesheets/components/content_editor.scss b/app/assets/stylesheets/components/content_editor.scss
index c2e25e1e696..c1a7c4d4d86 100644
--- a/app/assets/stylesheets/components/content_editor.scss
+++ b/app/assets/stylesheets/components/content_editor.scss
@@ -6,11 +6,16 @@
max-height: 55vh;
position: static;
overflow-y: auto;
+ transition: box-shadow ease-in-out 0.15s;
::selection {
background-color: transparent;
}
+ &:focus {
+ @include gl-focus($inset: true);
+ }
+
&:not(.ProseMirror-hideselection) .content-editor-selection,
a.ProseMirror-selectednode,
span.ProseMirror-selectednode {