commit: 296ce2d45aa0fc3d15a3971b6e81b00d59d4c3e3
parent: 2af3abd279c7526112a6e98a680a9bce4dd014b9
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Thu, 6 Oct 2016 22:00:56 +0200
Adjusting new CSS for smaller screens
Diffstat:
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git 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;
+ }
+ }
}