Skip to content

Commit 8b5b987

Browse files
sukhwinder33445nilmerg
authored andcommitted
item-layout.less: Don't show empty .caption container in minimal-layout
- When the .caption is empty, the header items are not properly centered.
1 parent 6751641 commit 8b5b987

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

asset/css/item-layout.less

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,10 @@
8787
flex: 1 1 auto;
8888
height: 1.5em;
8989
width: 0;
90+
margin-right: 1em;
9091

91-
&:not(:empty) {
92-
margin-right: 1em;
92+
&:empty {
93+
display: none; // not for Common/detailed, as it would not take up any height, making the list items appear smaller.
9394
}
9495

9596
.text-ellipsis();

0 commit comments

Comments
 (0)