branch: main commit d51fa370a95eda45d142f97d45fa6e5f77b85cc3 Author: Adam Porter <a...@alphapapa.net> Commit: Adam Porter <a...@alphapapa.net>
Set css-indent-offset to 2 This ensures consistent indentation of our CSS files across developers (the default not being what this project uses). Also, reindent a couple of blocks in layout.css accordingly. (This change was made with "M-x add-dir-local-variable", which also added the "no-byte-compile" line and reordered the modes.) * .dir-locals.el: (css-mode) Set css-indent-offset to 2. * html/layout.css: Reindent two blocks. --- .dir-locals.el | 9 +++++---- html/layout.css | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index 949deb6c78..e10580fd5a 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,17 +1,18 @@ -;;; Directory Local Variables +;;; Directory Local Variables -*- no-byte-compile: t -*- ;;; For more information see (info "(emacs) Directory Variables") ((nil . ((tab-width . 8) (sentence-end-double-space . t) (fill-column . 70) (bug-reference-url-format . "https://debbugs.gnu.org/%s"))) - (log-edit-mode . ((log-edit-font-lock-gnu-style . t) - (log-edit-setup-add-author . t))) (change-log-mode . ((add-log-time-zone-rule . t) (fill-column . 74) (mode . bug-reference))) + (css-mode . ((css-indent-offset . 2))) (diff-mode . ((mode . whitespace))) (lisp-data-mode . ((indent-tabs-mode . nil) (electric-quote-comment . nil) (electric-quote-string . nil) - (mode . bug-reference-prog)))) + (mode . bug-reference-prog))) + (log-edit-mode . ((log-edit-font-lock-gnu-style . t) + (log-edit-setup-add-author . t)))) diff --git a/html/layout.css b/html/layout.css index 9dce403d46..ef52bcf86a 100644 --- a/html/layout.css +++ b/html/layout.css @@ -190,7 +190,7 @@ dt { } .invisible { - display: none; + display: none; } header, .header { @@ -347,6 +347,6 @@ li { } .badge { - float: right; - display: block; + float: right; + display: block; }