diff --git a/viewer/static/css/main.scss b/viewer/static/css/main.scss index 365c173..c066dc8 100644 --- a/viewer/static/css/main.scss +++ b/viewer/static/css/main.scss @@ -103,19 +103,29 @@ html, body { display: flex; flex-direction: row; flex-wrap: nowrap; - justify-content: flex-end; + justify-content: flex-end; // Send all items to end align-content: stretch; align-items: flex-start; + width: 100%; div { align-self: auto; - } + flex: 0 1 auto; // End child shrink - div:nth-child(1) { - flex: 1 1 auto; - } - - div:nth-child(2), div:nth-child(3) { - flex: 0 1 auto; + // First child grows to fill the start + &:nth-child(1) { + flex: 1 1 auto; + } } } + +.icon-set { + height: 100%; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: space-around; + align-content: stretch; + align-items: center; + padding: 0 0.5rem; +} diff --git a/viewer/templates/browse.html b/viewer/templates/browse.html index d4700c4..8ad1576 100644 --- a/viewer/templates/browse.html +++ b/viewer/templates/browse.html @@ -7,17 +7,6 @@ .file-count { font-weight: 400; font-style: italic; font-size: 70%; } - - .action-set { - height: 100%; - display: flex; - flex-direction: row; - flex-wrap: nowrap; - justify-content: space-around; - align-content: stretch; - align-items: center; - padding: 0 0.5rem; - } {% endblock head %} {% block content %} @@ -32,13 +21,13 @@

-
- +
+ - + diff --git a/viewer/templates/index.html b/viewer/templates/index.html index ec03608..a40f653 100644 --- a/viewer/templates/index.html +++ b/viewer/templates/index.html @@ -4,21 +4,27 @@
Directories
{% if directories|length > 0 %} {% for served_directory in directories %} -
- + {% endfor %} {% else %}