From 78fe6758c960ff0f4b2aece61f5665d42c2ec73b Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Tue, 5 Jun 2018 00:04:56 +0200 Subject: [PATCH] Add needed classes to status view --- resources/assets/sass/custom.scss | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/resources/assets/sass/custom.scss b/resources/assets/sass/custom.scss index cb3bf28ac..1ea793f09 100644 --- a/resources/assets/sass/custom.scss +++ b/resources/assets/sass/custom.scss @@ -59,9 +59,12 @@ body, button, input, textarea { margin: auto !important; } -.card.status-container .status-comments { - overflow-y: scroll; - border-bottom:1px solid rgba(0, 0, 0, 0.1); +@media (min-width: map-get($grid-breakpoints, "md")) { + .card.status-container .status-comments { + overflow-y:scroll; + border-bottom:1px solid rgba(0,0,0,.1); + height: 200px; + } } .no-caret.dropdown-toggle { @@ -165,4 +168,19 @@ body, button, input, textarea { } .fas.fa-heart { -} \ No newline at end of file +} + +@media (max-width: map-get($grid-breakpoints, "md")) { + .border-md-left-0 { + border-left:0!important + } + .card.status-container .status-comments { + border-top:1px solid rgba(0,0,0,.1); + } + .sticky-md-bottom { + position:-webkit-sticky; + position:sticky; + bottom:0; + z-index:1020 + } +}