Skip to content

Commit 9fddee2

Browse files
authored
Update fast-search-card.js
1 parent 8471e5f commit 9fddee2

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

dist/fast-search-card.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -949,10 +949,21 @@ class FastSearchCard extends HTMLElement {
949949
color: var(--text-primary);
950950
margin: 0 0 0 0;
951951
overflow: hidden;
952-
text-overflow: ellipsis;
953952
white-space: nowrap;
954953
line-height: 1.1;
955-
}
954+
position: relative;
955+
}
956+
957+
.device-name::after {
958+
content: '';
959+
position: absolute;
960+
right: 0;
961+
top: 0;
962+
bottom: 0;
963+
width: 20px;
964+
background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08));
965+
pointer-events: none;
966+
}
956967

957968
.device-status {
958969
font-size: 18px;

0 commit comments

Comments
 (0)