Skip to content

Commit 70a1c8e

Browse files
committed
more general padding removal fix
1 parent fad7ea3 commit 70a1c8e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

templates/user/heatmap.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
data-locale-more="{{.locale.Tr "heatmap.more"}}"
77
data-locale-less="{{.locale.Tr "heatmap.less"}}"
88
></div>
9-
<div class="divider gt-mb-0"></div>
9+
<div class="divider"></div>
1010
{{end}}

web_src/css/shared/flex-list.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@
9191
border-top: 1px solid var(--color-secondary);
9292
}
9393

94-
/* Fomantic UI segment has default "padding: 1em", so here it removes the padding-top and padding-bottom accordingly */
95-
.ui.segment > .flex-list:first-child > .flex-item:first-child {
94+
/* remove padding on first and last child so it better fits into .ui.segment or
95+
when preceded by a .ui.divider */
96+
.flex-list > .flex-item:first-child {
9697
padding-top: 0;
9798
}
98-
99-
.ui.segment > .flex-list:last-child > .flex-item:last-child {
99+
.flex-list > .flex-item:last-child {
100100
padding-bottom: 0;
101101
}

0 commit comments

Comments
 (0)