mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
33 lines
499 B
SCSS
33 lines
499 B
SCSS
.ellipsed {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
width: 100%;
|
|
}
|
|
|
|
.line-clamp-1 {
|
|
// Clip content instead of wrapping to new line
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1; /* number of lines to show */
|
|
line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.no-wrap {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
|
|
&.flex-align-center {
|
|
align-items: center;
|
|
}
|
|
|
|
&.flex-justify-end {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|