Skip to content

Commit 735f1a5

Browse files
committed
add --sidebar-width variable and use it on issue sidebar
1 parent 8674886 commit 735f1a5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

web_src/css/base.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
--checkbox-size: 15px; /* height and width of checkbox and radio inputs */
2727
--page-spacing: 16px; /* space between page elements */
2828
--page-margin-x: 32px; /* minimum space on left and right side of page */
29+
--sidebar-width: 296px;
2930
}
3031

3132
@media (min-width: 768px) and (max-width: 1200px) {

web_src/css/repo.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
.issue-content-right {
4949
margin: 0 !important;
50-
width: 300px;
50+
width: var(--sidebar-width);
5151
}
5252

5353
.issue-sidebar-combo .ui.dropdown .item:not(.checked) .item-check-mark {

web_src/css/repo/home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.repo-grid-filelist-sidebar {
22
display: grid;
3-
grid-template-columns: auto 296px;
3+
grid-template-columns: auto var(--sidebar-width);
44
grid-template-rows: auto auto 1fr;
55
gap: var(--page-spacing);
66
}

0 commit comments

Comments
 (0)