aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs2
-rw-r--r--src/static/style.css7
-rw-r--r--src/static/style.css.sha2
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