Skip to content

Commit c0d32b0

Browse files
committed
feat(tpls): improve delete button positioning
Expand height of the delete button if filename has multiline.
1 parent d00a496 commit c0d32b0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/tpl/assert/main.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,10 @@ em {
201201

202202
.item-list li {
203203
position: relative;
204+
zoom: 1;
204205
}
205206

206-
.item-list .link {
207+
.item-list a {
207208
display: flex;
208209
flex-flow: row nowrap;
209210
align-items: center;
@@ -243,6 +244,7 @@ em {
243244
position: absolute;
244245
top: 0;
245246
right: 0;
247+
bottom: 0;
246248
border-bottom: 1px #f5f5f5 solid;
247249
color: #800000;
248250
font-weight: bold;

src/tpl/assert/main.css.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,9 @@ margin: 1em;
173173
}
174174
.item-list li {
175175
position: relative;
176+
zoom: 1;
176177
}
177-
.item-list .link {
178+
.item-list a {
178179
display: flex;
179180
flex-flow: row nowrap;
180181
align-items: center;
@@ -209,6 +210,7 @@ overflow: hidden;
209210
position: absolute;
210211
top: 0;
211212
right: 0;
213+
bottom: 0;
212214
border-bottom: 1px #f5f5f5 solid;
213215
color: #800000;
214216
font-weight: bold;

0 commit comments

Comments
 (0)