177177 }
178178}
179179
180- .repository .file .list .repo-path {
181- word-break : break-word;
180+ .commit-summary {
181+ flex : 1 ;
182+ overflow-wrap : anywhere;
183+ overflow : hidden;
184+ white-space : nowrap;
185+ text-overflow : ellipsis;
182186}
183187
184- .repository .file .list # repo-files-table {
185- table-layout : fixed;
188+ .commit-header .commit-summary ,
189+ td .commit-summary {
190+ white-space : normal;
191+ }
192+
193+ .latest-commit {
194+ display : flex;
195+ flex : 1 ;
196+ align-items : center;
197+ overflow : hidden;
198+ text-overflow : ellipsis;
199+ }
200+
201+ @media (max-width : 767.98px ) {
202+ .latest-commit .sha {
203+ display : none;
204+ }
205+ .latest-commit .commit-summary {
206+ margin-left : 8px ;
207+ }
208+ }
209+
210+ .repo-path {
211+ display : flex;
212+ overflow-wrap : anywhere;
213+ }
214+
215+ /* this is what limits the commit table width to a value that works on all viewport sizes */
216+ # repo-files-table th : first-of-type {
217+ max-width : calc (calc (min (100vw , 1280px )) - 145px - calc (2 * var (--page-margin-x )));
186218}
187219
188220.repository .file .list # repo-files-table thead th {
262294}
263295
264296.repository .file .list # repo-files-table td .age {
265- width : 120px ;
266297 color : var (--color-text-light-1 );
267298}
268299
12191250 margin : 0 ;
12201251}
12211252
1222- .repository # commits-table td .message {
1223- text-overflow : unset;
1224- }
1225-
12261253.repository # commits-table .ui .basic .striped .table tbody tr : nth-child (2n) {
12271254 background-color : var (--color-light ) !important ;
12281255}
21142141 padding-bottom : 0 !important ;
21152142}
21162143
2144+ .commit-header-buttons {
2145+ display : flex;
2146+ gap : 4px ;
2147+ align-items : flex-start;
2148+ white-space : nowrap;
2149+ }
2150+
2151+ @media (max-width : 767.98px ) {
2152+ .commit-header-buttons {
2153+ flex-direction : column;
2154+ align-items : stretch;
2155+ }
2156+ }
2157+
21172158.settings .webhooks .list > .item : not (: first-child ),
21182159.settings .githooks .list > .item : not (: first-child ),
21192160.settings .actions .list > .item : not (: first-child ) {
@@ -2346,7 +2387,7 @@ tbody.commit-list {
23462387.author-wrapper {
23472388 overflow : hidden;
23482389 text-overflow : ellipsis;
2349- max-width : calc ( 100% - 50 px ) ;
2390+ max-width : 100% ;
23502391 display : inline-block;
23512392 vertical-align : middle;
23522393}
@@ -2371,10 +2412,6 @@ tbody.commit-list {
23712412 tr .commit-list {
23722413 width : 100% ;
23732414 }
2374- th .message-wrapper {
2375- display : block;
2376- max-width : calc (100vw - 70px );
2377- }
23782415 .author-wrapper {
23792416 max-width : 80px ;
23802417 }
@@ -2384,27 +2421,18 @@ tbody.commit-list {
23842421 tr .commit-list {
23852422 width : 723px ;
23862423 }
2387- th .message-wrapper {
2388- max-width : 120px ;
2389- }
23902424}
23912425
23922426@media (min-width : 992px ) and (max-width : 1200px ) {
23932427 tr .commit-list {
23942428 width : 933px ;
23952429 }
2396- th .message-wrapper {
2397- max-width : 350px ;
2398- }
23992430}
24002431
24012432@media (min-width : 1201px ) {
24022433 tr .commit-list {
24032434 width : 1127px ;
24042435 }
2405- th .message-wrapper {
2406- max-width : 525px ;
2407- }
24082436}
24092437
24102438.commit-list .commit-status-link {
@@ -2732,7 +2760,7 @@ tbody.commit-list {
27322760 .repository .file .list # repo-files-table .entry td .message ,
27332761 .repository .file .list # repo-files-table .commit-list td .message ,
27342762 .repository .file .list # repo-files-table .entry span .commit-summary ,
2735- .repository .file .list # repo-files-table .commit-list span .commit-summary {
2763+ .repository .file .list # repo-files-table .commit-list tr span .commit-summary {
27362764 display : none !important ;
27372765 }
27382766 .repository .view .issue .comment-list .timeline ,
0 commit comments