diff options
author | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-04-06 16:43:57 +0000 |
---|---|---|
committer | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-04-06 16:43:57 +0000 |
commit | 61cae15740fbbe8da48349e22f440956df960c2f (patch) | |
tree | 6d4a7fe9b3d6a00326098b344ac28118b7323fed /src | |
parent | Improved design (diff) | |
download | miniserve-61cae15740fbbe8da48349e22f440956df960c2f.tar.gz miniserve-61cae15740fbbe8da48349e22f440956df960c2f.zip |
Added flex wrap to handle overflow on mobile
Diffstat (limited to 'src')
-rw-r--r-- | src/renderer.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index 5a85c35..9fa977e 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -489,11 +489,12 @@ fn css(color_scheme: &themes::ColorScheme) -> Markup { background: {back_button_background_hover}; }} .toolbar {{ - margin-top: 2rem; display: flex; justify-content: space-between; + flex-wrap: wrap; }} .download {{ + margin-top: 1rem; padding: 0.125rem; display: flex; flex-direction: row; @@ -516,6 +517,7 @@ fn css(color_scheme: &themes::ColorScheme) -> Markup { margin-right: 1rem; }} .upload {{ + margin-top: 1rem; display: flex; justify-content: flex-end; }} |