Skip to content

Commit b301097

Browse files
committed
Revert "Revert style.css to debug error"
This reverts commit a88031c.
1 parent a88031c commit b301097

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

gcovr-templates/html/style.css

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ body.sidebar-resizing .main-content {
11191119

11201120
.file-list-header {
11211121
display: grid;
1122-
grid-template-columns: minmax(200px, 2fr) minmax(150px, 1fr) 100px 100px 100px;
1122+
grid-template-columns: minmax(200px, 2fr) minmax(150px, 1fr) 100px 100px 100px{% if SHOW_CONDITION_COVERAGE %} 100px{% endif %}{% if SHOW_DECISION %} 100px{% endif %}{% if SHOW_CALLS %} 100px{% endif %}{% if info.diff_report %} 95px{% endif %};
11231123
gap: 8px;
11241124
padding: 12px 16px;
11251125
background: var(--bg-tertiary);
@@ -1156,7 +1156,7 @@ body.sidebar-resizing .main-content {
11561156

11571157
.file-row {
11581158
display: grid;
1159-
grid-template-columns: minmax(200px, 2fr) minmax(150px, 1fr) 100px 100px 100px;
1159+
grid-template-columns: minmax(200px, 2fr) minmax(150px, 1fr) 100px 100px 100px{% if SHOW_CONDITION_COVERAGE %} 100px{% endif %}{% if SHOW_DECISION %} 100px{% endif %}{% if SHOW_CALLS %} 100px{% endif %}{% if info.diff_report %} 95px{% endif %};
11601160
gap: 8px;
11611161
padding: 4px 16px;
11621162
border-bottom: 1px solid var(--border-muted);
@@ -1258,20 +1258,25 @@ body.sidebar-resizing .main-content {
12581258
text-align: right;
12591259
}
12601260

1261-
.col-lines, .col-functions, .col-branches, .col-count {
1262-
text-align: center;
1263-
}
1264-
1265-
.file-row .col-lines,
1266-
.file-row .col-functions,
1267-
.file-row .col-branches {
1261+
.col-lines,
1262+
.col-functions,
1263+
.col-branches,
1264+
.col-conditions,
1265+
.col-decisions,
1266+
.col-calls,
1267+
.col.diff {
1268+
text-align: right;
12681269
font-size: var(--font-size-sm);
12691270
}
12701271

12711272
.file-list-header .col-lines,
12721273
.file-list-header .col-functions,
1273-
.file-list-header .col-branches {
1274-
justify-content: center;
1274+
.file-list-header .col-branches,
1275+
.file-list-header .col-conditions,
1276+
.file-list-header .col-decisions,
1277+
.file-list-header .col-calls,
1278+
.file-list-header .col-diff {
1279+
justify-content: flex-end;
12751280
}
12761281

12771282
.stat-value {
@@ -1958,7 +1963,7 @@ tr.source-line.nav-highlight > td {
19581963

19591964
.functions-header {
19601965
display: grid;
1961-
grid-template-columns: 2fr 120px 80px 80px;
1966+
grid-template-columns: 2fr 120px 80px 80px{% if SHOW_CALLS %} 80px{% endif %};
19621967
gap: 16px;
19631968
padding: 12px 16px;
19641969
background: var(--bg-tertiary);
@@ -1971,7 +1976,7 @@ tr.source-line.nav-highlight > td {
19711976

19721977
.function-row {
19731978
display: grid;
1974-
grid-template-columns: 2fr 120px 80px 80px;
1979+
grid-template-columns: 2fr 120px 80px 80px{% if SHOW_CALLS %} 80px{% endif %};
19751980
gap: 16px;
19761981
padding: 10px 16px;
19771982
border-bottom: 1px solid var(--border-muted);
@@ -2197,7 +2202,11 @@ tr.source-line.nav-highlight > td {
21972202
}
21982203

21992204
.col-functions,
2200-
.col-branches {
2205+
.col-branches,
2206+
.col-conditions,
2207+
.col-decisions,
2208+
.col-calls,
2209+
.col-diff {
22012210
display: none;
22022211
}
22032212

@@ -2224,7 +2233,11 @@ tr.source-line.nav-highlight > td {
22242233

22252234
.col-lines,
22262235
.col-functions,
2227-
.col-branches {
2236+
.col-branches ,
2237+
.col-conditions,
2238+
.col-decisions,
2239+
.col-calls,
2240+
.col-diff {
22282241
display: none !important;
22292242
}
22302243

0 commit comments

Comments
 (0)