From c999bd217204662d39a7069a79ada6703d9944e2 Mon Sep 17 00:00:00 2001 From: AtuyL Date: Thu, 18 Oct 2018 06:15:34 +0900 Subject: [PATCH] fixed: for minimum window width. --- app/components/status-bar.js | 5 +++-- static/base.css | 5 +++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/components/status-bar.js b/app/components/status-bar.js index e91d57ef..344c40dd 100644 --- a/app/components/status-bar.js +++ b/app/components/status-bar.js @@ -3,9 +3,10 @@ import styled from 'styled-components' import bytes from 'prettier-bytes' const Bar = styled.div` - position: absolute; + position: fixed; + left:0; bottom: 0; - width: 100%; + width: 100vw; padding: 0.5rem 1rem 0.75rem; background-color: var(--color-neutral-04); color: var(--color-neutral-60); diff --git a/static/base.css b/static/base.css index 514b2f79..50a63d7a 100644 --- a/static/base.css +++ b/static/base.css @@ -26,9 +26,14 @@ time, mark, audio, video { border: 0; } +html { + overflow: auto; +} + body { line-height: 1.5; overflow: hidden; + min-width: 800px; } main {