mirror of
https://github.com/nasa/openmct.git
synced 2025-02-21 01:42:31 +00:00
[Search] Overflow text
Overflow text on the search item labels is now hidden, with ellipses. New problem: Text is on a different line than the icon.
This commit is contained in:
parent
ff3770c9ee
commit
ab3d3ec45b
@ -279,7 +279,14 @@ span.searchbar {
|
||||
color: #ff0000; }
|
||||
/* line 31, ../sass/search/_search.scss */
|
||||
span.searchbar .results .searchbar-item {
|
||||
color: #aa00ff; }
|
||||
/* line 34, ../sass/search/_search.scss */
|
||||
color: #8800ff; }
|
||||
/* line 35, ../sass/search/_search.scss */
|
||||
span.searchbar .results .searchbar-item .label {
|
||||
color: #00aa00; }
|
||||
/* line 38, ../sass/search/_search.scss */
|
||||
span.searchbar .results .searchbar-item .label .title-label {
|
||||
color: #aa00aa;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap; }
|
||||
|
@ -29,10 +29,23 @@ span.searchbar {
|
||||
color: #ff0000;
|
||||
|
||||
.searchbar-item {
|
||||
color: #aa00ff;
|
||||
$runningItemW: 0;
|
||||
color: #8800ff;
|
||||
|
||||
.label {
|
||||
color: #00aa00; // Good up to here.
|
||||
color: #00aa00;
|
||||
|
||||
.title-label {
|
||||
color: #aa00aa;
|
||||
|
||||
//@include absPosDefault();
|
||||
display: block;
|
||||
//left: $runningItemW + ($interiorMargin * 3);
|
||||
//left: 60px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user