make quickedit save button sticky
authorFrédéric Péters <fpeters@0d.be>
Fri, 5 Jun 2020 21:02:23 +0000 (23:02 +0200)
committerFrédéric Péters <fpeters@0d.be>
Fri, 5 Jun 2020 21:02:23 +0000 (23:02 +0200)
chloro/phyll/static/css/style.scss

index 8650e13..473c22f 100644 (file)
@@ -186,6 +186,9 @@ footer {
 div[contenteditable=true]:focus-within {
        outline: 1px solid gray;
        outline-offset: 3px;
+       ~ button#save {
+               display: block;
+       }
 }
 
 .style-popup {
@@ -225,3 +228,9 @@ div[contenteditable=true]:focus-within {
                width: 2em;
        }
 }
+
+button#save {
+       position: sticky;
+       bottom: 10px;
+       display: none;
+}