diff options
author | Martin Fischer <martin@push-f.com> | 2021-07-05 08:17:25 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-07-05 08:20:18 +0200 |
commit | 61636a80ea8f2137595ae29beb5fa7616e74c58d (patch) | |
tree | c78d83499d74134b7481a684932d5a318a16e550 | |
parent | b38a8cdeb382120ac713917fea62bdb02745e8a3 (diff) |
css: stop wrapping action links in div
-rw-r--r-- | src/main.rs | 2 | ||||
-rw-r--r-- | src/static/style.css | 7 | ||||
-rw-r--r-- | src/static/style.css.sha | 2 |
3 files changed, 4 insertions, 7 deletions
diff --git a/src/main.rs b/src/main.rs index 7127922..8514b29 100644 --- a/src/main.rs +++ b/src/main.rs @@ -478,7 +478,6 @@ fn action_links<C: Controller>( ) -> String { let mut out = String::new(); - out.push_str("<div class=actions>"); out.push_str("<a href=. title='list parent directory'>ls</a>"); out.push_str(&render_link("view", "view", active_action)); if controller.may_write_path(ctx, parts) { @@ -490,7 +489,6 @@ fn action_links<C: Controller>( out.push_str(&render_link("move", "mv", active_action)); out.push_str(&render_link("remove", "rm", active_action)); } - out.push_str("</div>"); out } diff --git a/src/static/style.css b/src/static/style.css index af60760..e3d0954 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -31,10 +31,6 @@ textarea, iframe { font-weight: bold; } -.actions { - margin-bottom: 0.2em; -} - .buttons { margin-top: 0.2em; display: flex; @@ -66,6 +62,9 @@ textarea, iframe { #header { display: flex; + column-gap: 0.32em; + align-items: center; + margin-bottom: 0.2em; } .user-info { diff --git a/src/static/style.css.sha b/src/static/style.css.sha index ed20f8e..8d6fda2 100644 --- a/src/static/style.css.sha +++ b/src/static/style.css.sha @@ -1 +1 @@ -'sha256-7wOMnVUwWmDEG4Yz3cqmo7y38q0qzzpSB9TiwkKMHmg='
\ No newline at end of file +'sha256-4QS8BIXdar+z3XbKs6xgOap7gK1ItUV+Q2S8j9ukFx8='
\ No newline at end of file |