Skip to content

Commit e43d1c5

Browse files
committed
Prevent Commit Status From Overflowing On Branch Page
It is possible for the commit ci status on the branches page for a repository to become an ellipsis due to overflowing. This commit will fix that issue by using flex. Signed-off-by: Gary Kim <[email protected]>
1 parent 3b97b9e commit e43d1c5

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

public/css/index.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ footer .ui.left,footer .ui.right{line-height:40px}
632632
.repository #commits-table thead .sha{width:140px}
633633
.repository #commits-table thead .shatd{text-align:center}
634634
.repository #commits-table td.sha .sha.label{margin:0}
635+
.repository #commits-table td.message{display:flex;padding-top:0;padding-bottom:0}
635636
.repository #commits-table.ui.basic.striped.table tbody tr:nth-child(2n){background-color:rgba(0,0,0,.02)!important}
636637
.repository #commits-table td.sha .sha.label,.repository #repo-files-table .sha.label{border:1px solid #bbb}
637638
.repository #commits-table td.sha .sha.label .detail.icon,.repository #repo-files-table .sha.label .detail.icon{background:#fafafa;margin:-6px -10px -4px 0;padding:5px 3px 5px 6px;border-left:1px solid #bbb;border-top-left-radius:0;border-bottom-left-radius:0}

public/less/_repository.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,12 @@
12651265
margin: 0;
12661266
}
12671267

1268+
td.message {
1269+
display: flex;
1270+
padding-top: 0;
1271+
padding-bottom: 0;
1272+
}
1273+
12681274
&.ui.basic.striped.table tbody tr:nth-child(2n) {
12691275
background-color: rgba(0, 0, 0, 0.02) !important;
12701276
}

0 commit comments

Comments
 (0)