Mercurial > gemma
changeset 818:265693832ccd
style for overflow
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 27 Sep 2018 17:41:53 +0200 |
parents | 6607cabec150 |
children | dcad6628a8ee |
files | client/src/logs/logs.vue |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/logs/logs.vue Thu Sep 27 17:38:53 2018 +0200 +++ b/client/src/logs/logs.vue Thu Sep 27 17:41:53 2018 +0200 @@ -3,7 +3,7 @@ <div class="d-flex flex-row"> <div :class="spacer"></div> <div class="logoutput shadow"> - <pre v-highlightjs="logs"><code class="bash"></code></pre> + <pre id="code" v-highlightjs="logs"><code class="bash"></code></pre> </div> </div> <div class="logmenu"> @@ -24,6 +24,9 @@ margin-left: auto; margin-right: auto; } +#code { + overflow: auto; +} .logoutput { width: 95%; height: 85vh; @@ -32,7 +35,7 @@ margin-left: $offset; text-align: left; background-color: white; - overflow: scroll; + overflow: auto; transition: $transition-fast; }