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:
Diffstat (limited to 'app/assets/stylesheets/utilities.scss')
-rw-r--r--app/assets/stylesheets/utilities.scss18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/assets/stylesheets/utilities.scss b/app/assets/stylesheets/utilities.scss
index fd378dc7008..08c4efce542 100644
--- a/app/assets/stylesheets/utilities.scss
+++ b/app/assets/stylesheets/utilities.scss
@@ -153,21 +153,3 @@
.gl-fill-red-500 {
fill: $red-500;
}
-
-/**
- Note: used by app/assets/javascripts/vue_shared/components/truncated_text/truncated_text.vue
- Will be moved to @gitlab/ui by https://gitlab.com/gitlab-org/gitlab/-/issues/408643
-
- Although this solution uses vendor-prefixes, it is supported by all browsers and it is
- currently the only way to truncate text by lines. See https://caniuse.com/css-line-clamp
-**/
-.gl-truncate-text-by-line {
- // stylelint-disable-next-line value-no-vendor-prefix
- display: -webkit-box;
- -webkit-line-clamp: var(--lines);
- -webkit-box-orient: vertical;
-
- @include gl-media-breakpoint-down(sm) {
- -webkit-line-clamp: var(--mobile-lines);
- }
-}