diff options
author | Frédéric Guillot <fred@kanboard.net> | 2017-11-23 11:21:46 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2017-11-23 11:21:46 -0800 |
commit | 7eb7ba7e79fd839cc17691fbefb11535f2c4f97d (patch) | |
tree | 24a4b1d1a03029dfe2ae6a8ae79c83fbe70c845d /assets/sass | |
parent | 5045c6d8de7854d30843f133641ffdd1337a2114 (diff) |
Improve CSS layout (sidebar)
Diffstat (limited to 'assets/sass')
-rw-r--r-- | assets/sass/_markdown_rendering.sass | 1 | ||||
-rw-r--r-- | assets/sass/_sidebar.sass | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/assets/sass/_markdown_rendering.sass b/assets/sass/_markdown_rendering.sass index cc1f977a..99e718b3 100644 --- a/assets/sass/_markdown_rendering.sass +++ b/assets/sass/_markdown_rendering.sass @@ -20,6 +20,7 @@ border-radius: 5px border: 1px solid #ddd overflow: auto + overflow-wrap: initial color: color('medium') blockquote font-style: italic diff --git a/assets/sass/_sidebar.sass b/assets/sass/_sidebar.sass index 6663cc73..44ac22bb 100644 --- a/assets/sass/_sidebar.sass +++ b/assets/sass/_sidebar.sass @@ -12,13 +12,17 @@ .sidebar-content padding-left: 10px flex: 1 100% + max-width: 85% + overflow-wrap: break-word @include sm-device padding-left: 0 order: 1 + max-width: 100% .sidebar - width: 250px + width: 25% + max-width: 250px @include sm-device flex: 1 auto |