diff options
Diffstat (limited to 'web/src/css/layout.less')
-rw-r--r-- | web/src/css/layout.less | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/web/src/css/layout.less b/web/src/css/layout.less index f6807f24..1075d6c9 100644 --- a/web/src/css/layout.less +++ b/web/src/css/layout.less @@ -8,6 +8,8 @@ html, body, #container { display: flex; flex-direction: column; + outline: none; // our root element is focused by default. + > header, > footer, > .eventlog { flex: 0 0 auto; } @@ -15,12 +17,15 @@ html, body, #container { .main-view { flex: 1 1 auto; - + + // All children of #container need an explicit height + // If we don't set this, the scrollbars disappear + // (https://github.com/mitmproxy/mitmproxy/issues/615) + height: 0; + display: flex; flex-direction: row; - outline: 0; - &.vertical { flex-direction: column; } |