summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-06 22:33:52 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-06 22:33:52 +0300
commitbc6a17a6828f2695a7ad0f64671ac1b6845c111d (patch)
tree7760f578019c50b6a2e7706a2e90050766e5c49b
parent910a99f90b27b0b6de0140ce89f356b746d43113 (diff)
downloadgitlab-ce-bc6a17a6828f2695a7ad0f64671ac1b6845c111d.tar.gz
Smaller event width for mobile devices
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/assets/stylesheets/sections/events.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/sections/events.scss b/app/assets/stylesheets/sections/events.scss
index 05361976efc..957af62c0ea 100644
--- a/app/assets/stylesheets/sections/events.scss
+++ b/app/assets/stylesheets/sections/events.scss
@@ -183,3 +183,9 @@
line-height: 24px;
}
}
+
+@media (max-width: $screen-xs-max) {
+ .event-item .event-title {
+ @include str-truncated(65%);
+ }
+}