]> git.0d.be Git - chloro.git/commitdiff
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 8650e1357df35fe82ba64fb4e7ebd18a5c0213a7..473c22f286b4857f5690ee85c189441e0055295d 100644 (file)
@@ -186,6 +186,9 @@ footer {
 div[contenteditable=true]:focus-within {
        outline: 1px solid gray;
        outline-offset: 3px;
 div[contenteditable=true]:focus-within {
        outline: 1px solid gray;
        outline-offset: 3px;
+       ~ button#save {
+               display: block;
+       }
 }
 
 .style-popup {
 }
 
 .style-popup {
@@ -225,3 +228,9 @@ div[contenteditable=true]:focus-within {
                width: 2em;
        }
 }
                width: 2em;
        }
 }
+
+button#save {
+       position: sticky;
+       bottom: 10px;
+       display: none;
+}