style: use outline to mark contenteditable zone
authorFrédéric Péters <fpeters@0d.be>
Fri, 5 Jun 2020 21:02:02 +0000 (23:02 +0200)
committerFrédéric Péters <fpeters@0d.be>
Fri, 5 Jun 2020 21:02:02 +0000 (23:02 +0200)
chloro/phyll/static/css/style.scss

index 24a69f0..8650e13 100644 (file)
@@ -184,8 +184,8 @@ footer {
 }
 
 div[contenteditable=true]:focus-within {
-       outline: none;
-       box-shadow: inset 0 0 2px #333;
+       outline: 1px solid gray;
+       outline-offset: 3px;
 }
 
 .style-popup {