Skip to content

Commit 5c905f6

Browse files
committed
Add scrollable file list on directory pages
1 parent a3379da commit 5c905f6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

gcovr-templates/html/style.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,7 @@ body.sidebar-resizing .main-content {
957957
min-height: 0;
958958
display: flex;
959959
flex-direction: column;
960+
overflow-y: auto;
960961
}
961962

962963
.main-footer {
@@ -1115,6 +1116,16 @@ body.sidebar-resizing .main-content {
11151116
border: 1px solid var(--border-color);
11161117
border-radius: var(--radius-lg);
11171118
overflow: hidden;
1119+
display: flex;
1120+
flex-direction: column;
1121+
flex: 1;
1122+
min-height: 0;
1123+
}
1124+
1125+
.file-list-body {
1126+
overflow-y: auto;
1127+
flex: 1;
1128+
min-height: 200px;
11181129
}
11191130

11201131
.file-list-header {

0 commit comments

Comments
 (0)