From b711678329463d1ec5f2eb9db99f99af5b69895e Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 29 Aug 2017 21:22:05 +0900 Subject: [PATCH] iframe 100% height --- src/command-line/command-line-frame.scss | 2 +- src/command-line/command-line.scss | 22 ++++++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/src/command-line/command-line-frame.scss b/src/command-line/command-line-frame.scss index 67bf514..88772d9 100644 --- a/src/command-line/command-line-frame.scss +++ b/src/command-line/command-line-frame.scss @@ -4,7 +4,7 @@ bottom: 0; left: 0; width: 100%; - height: 20px; + height: 100%; position: fixed; z-index: 10000; border: none; diff --git a/src/command-line/command-line.scss b/src/command-line/command-line.scss index 2256bf2..68a0a03 100644 --- a/src/command-line/command-line.scss +++ b/src/command-line/command-line.scss @@ -3,29 +3,39 @@ html, body, * { padding: 0; } +body { + position: absolute; + bottom: 0; + left: 0; + right: 0; +} + .vimvixen-command-line { border-top: 1px solid gray; bottom: 0; margin: 0; padding: 0; + @mixin input-style { + font-style: normal; + font-family: monospace; + font-size: 12px; + } + + &-title { background-color: lightgray; font-weight: bold; margin: 0; padding: 0; + + @include input-style; } &-line { background-color: white; display: flex; - @mixin input-style { - font-style: normal; - font-family: monospace; - font-size: 12px; - } - &-prompt:before { content: ':';