From 296ce2d45aa0fc3d15a3971b6e81b00d59d4c3e3 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 6 Oct 2016 22:00:56 +0200 Subject: Adjusting new CSS for smaller screens --- app/assets/stylesheets/stream_entries.scss | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/stream_entries.scss b/app/assets/stylesheets/stream_entries.scss index 910fdf635..badae3841 100644 --- a/app/assets/stylesheets/stream_entries.scss +++ b/app/assets/stylesheets/stream_entries.scss @@ -46,13 +46,11 @@ } } - &.activity-stream-headless { - .entry:first-child { - border-radius: 4px 4px 0 0; + .entry:first-child { + border-radius: 4px 4px 0 0; - &:last-child { - border-radius: 4px; - } + &:last-child { + border-radius: 4px; } } @@ -75,12 +73,6 @@ } } - @media screen and (max-width: 360px) { - .avatar { - display: none; - } - } - .entry__container { overflow: hidden; } @@ -227,4 +219,14 @@ } } } + + @media screen and (max-width: 360px) { + .avatar { + display: none; + } + + .entry__container__container { + margin-left: 7px; + } + } } -- cgit