]> git.0d.be Git - chloro.git/commitdiff
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 24a69f0b5302f6c9a4586d5bb72aa6f1ec6d37eb..8650e1357df35fe82ba64fb4e7ebd18a5c0213a7 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 {