diff options
author | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-16 20:03:10 +0000 |
---|---|---|
committer | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-16 20:03:10 +0000 |
commit | dc287f55252e77a41ebd4dd911fc7d72a916d8b5 (patch) | |
tree | bf1e3a59128095038b8e80fe71281fa8e8180a48 | |
parent | Wrap title instead of overflowing (diff) | |
parent | Merge pull request #69 from wyhaya/master (diff) | |
download | miniserve-dc287f55252e77a41ebd4dd911fc7d72a916d8b5.tar.gz miniserve-dc287f55252e77a41ebd4dd911fc7d72a916d8b5.zip |
Merge branch 'master' into word-wrap
-rw-r--r-- | src/renderer.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/renderer.rs b/src/renderer.rs index 5235a7f..284e1c1 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -486,12 +486,15 @@ fn css(color_scheme: &ColorScheme) -> Markup { }} .back {{ position: fixed; + width: 3.8rem; + height: 3.8rem; + align-items: center; + justify-content: center; bottom: 3rem; right: 3.75rem; background: {back_button_background}; border-radius: 100%; box-shadow: 0 0 8px -4px #888888; - padding: 1.4rem 1.5rem; color: {back_button_link_color}; display: none; }} @@ -593,7 +596,7 @@ fn css(color_scheme: &ColorScheme) -> Markup { display: block; }} .back {{ - display: initial; + display: flex; }} .back {{ right: 1.5rem; |