mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Adding a text-overflow: ellipsis; mixin and related cleanup
This commit is contained in:
@@ -28,9 +28,7 @@ $avatar_width: 120px;
|
||||
border-left: 0.5em solid transparent;
|
||||
}
|
||||
button {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@include ellipsis;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,9 +71,7 @@
|
||||
}
|
||||
.draft-text {
|
||||
width: calc(100% - 40px);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@include ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
// some protection for text-only site titles
|
||||
.title {
|
||||
max-width: 75%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
@include ellipsis;
|
||||
-webkit-animation: fadein 0.5s;
|
||||
animation: fadein 0.5s;
|
||||
// This acts as a placeholder if for some reason the small logo takes a while
|
||||
|
||||
Reference in New Issue
Block a user