Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2016-12-21 01:58:04 +0300
committerSam Rose <sam@gitlab.com>2016-12-27 19:23:20 +0300
commitdca0a42a95d4757f6caeb1fc8866c7ebc570744b (patch)
tree86bdf6e30b9cc3fb9bde2c69729d295d577c8fba /app/assets/stylesheets/framework/common.scss
parent580220c6ccf2b541e46c4c8a1b3830195c3b5a8b (diff)
Truncate tag description and fix mobile for inidividual tag
Diffstat (limited to 'app/assets/stylesheets/framework/common.scss')
-rw-r--r--app/assets/stylesheets/framework/common.scss16
1 files changed, 16 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss
index 251e43d2edd..5e3a91af86e 100644
--- a/app/assets/stylesheets/framework/common.scss
+++ b/app/assets/stylesheets/framework/common.scss
@@ -57,6 +57,11 @@ pre {
border-radius: 0;
color: $well-pre-color;
}
+
+ &.wrap {
+ word-break: break-word;
+ white-space: pre-wrap;
+ }
}
hr {
@@ -67,6 +72,17 @@ hr {
@include str-truncated;
}
+.block-truncated {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+
+ > div,
+ .str-truncated {
+ display: inline;
+ }
+}
+
.item-title { font-weight: 600; }
/** FLASH message **/