Skip to content

Commit 7a0dd9e

Browse files
committed
feat(tpl): add hover style for list item
This makes hovers on inner control(delete) button also highlights the whole item.
1 parent fafbaa5 commit 7a0dd9e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/tpl/assert/main.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ em {
204204
zoom: 1;
205205
}
206206

207+
.item-list li:hover {
208+
background: #f5f5f5;
209+
}
210+
207211
.item-list a {
208212
display: flex;
209213
flex-flow: row nowrap;

src/tpl/assert/main.css.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ margin: 1em;
175175
position: relative;
176176
zoom: 1;
177177
}
178+
.item-list li:hover {
179+
background: #f5f5f5;
180+
}
178181
.item-list a {
179182
display: flex;
180183
flex-flow: row nowrap;

0 commit comments

Comments
 (0)