Skip to content

Commit ab1d82c

Browse files
author
p01
committed
Fix DFL-3711, Selection and hover styling does not fill the scrollwidth in resource tree view
1 parent 459a45e commit ab1d82c

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

src/resource-manager/resource_style.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,17 @@ a.resource-detail-link:hover
282282
overflow: auto;
283283
}
284284

285+
.resource-tree ul
286+
{
287+
display: table;
288+
min-width: 100%;
289+
}
290+
291+
.resource-tree li
292+
{
293+
display: table-row;
294+
}
295+
285296
.resource-tree li > h2
286297
{
287298
box-sizing: border-box;
@@ -311,12 +322,12 @@ a.resource-detail-link:hover
311322
margin: 4px 0;
312323
}
313324

314-
.resource-tree li > h2:hover
325+
.resource-tree li:hover
315326
{
316327
background-color: rgba(137, 173, 232, 0.2);
317328
}
318329

319-
.resource-highlight
330+
.resource-tree li.resource-highlight
320331
{
321332
color: #fff;
322333
background-color: rgba(55, 115, 211, 0.7);
@@ -333,7 +344,7 @@ h2 .resource-tree-count
333344
vertical-align: middle;
334345
}
335346

336-
h2:hover .resource-tree-count
347+
li:hover .resource-tree-count
337348
{
338349
background-color: #cfd6e0;
339350
color: #3c3e42;
@@ -344,7 +355,7 @@ h2 .resource-different-origin
344355
color: #808080;
345356
}
346357

347-
.resource-tree li > h2:hover .resource-different-origin:hover
358+
.resource-tree li:hover .resource-different-origin:hover
348359
{
349360
color: #6e7680;
350361
}

0 commit comments

Comments
 (0)