Skip to content

Commit 2259804

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

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

dist/fast-search-card.js

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -951,20 +951,12 @@ class FastSearchCard extends HTMLElement {
951951
overflow: hidden;
952952
white-space: nowrap;
953953
line-height: 1.1;
954-
position: relative;
954+
background: linear-gradient(to right, var(--text-primary) 80%, transparent 100%);
955+
-webkit-background-clip: text;
956+
-webkit-text-fill-color: transparent;
957+
background-clip: text;
955958
}
956959

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-
}
967-
968960
.device-status {
969961
font-size: 18px;
970962
color: var(--text-secondary);

0 commit comments

Comments
 (0)