mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 05:11:41 +01:00 
			
		
		
		
	1. apply [`text-wrap: balance`](https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrap#balance) to various places making the text wrapping nicer, moving `empty-placeholder` CSS to base because it's not repo-specific. <img width="537" alt="Screenshot 2025-06-07 at 15 09 00" src="https://github.com/user-attachments/assets/8b37d031-269d-4ab3-ba59-2ac469c431e4" /> <img width="514" alt="Screenshot 2025-06-07 at 15 11 16" src="https://github.com/user-attachments/assets/27a63117-be1d-4797-80f7-9ed14cca41dc" /> <img width="346" alt="Screenshot 2025-06-07 at 15 22 26" src="https://github.com/user-attachments/assets/2f371384-0330-4a00-bb79-bc3c50ba5c91" /> 2. fix overflow-related bug on actions run list, before: <img width="302" alt="Screenshot 2025-06-07 at 15 26 26" src="https://github.com/user-attachments/assets/d6607eeb-288b-4e81-a770-45a421c9c68c" /> After: <img width="299" alt="Screenshot 2025-06-07 at 15 26 59" src="https://github.com/user-attachments/assets/b0ddb66f-d4fe-4711-8ed9-eca08ce608f3" />
		
			
				
	
	
		
			77 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			77 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
| .runner-container {
 | |
|   padding-bottom: 30px;
 | |
| }
 | |
| 
 | |
| .runner-container .ui.table.segment {
 | |
|   overflow-x: auto;
 | |
| }
 | |
| 
 | |
| .runner-container .runner-new-text {
 | |
|   color: var(--color-white);
 | |
| }
 | |
| 
 | |
| .runner-container #runner-new:hover .runner-new-text {
 | |
|   color: var(--color-white) !important;
 | |
| }
 | |
| 
 | |
| .runner-container .task-status-success {
 | |
|   background-color: var(--color-green);
 | |
|   color: var(--color-white);
 | |
| }
 | |
| 
 | |
| .runner-container .task-status-failure {
 | |
|   background-color: var(--color-red-light);
 | |
|   color: var(--color-white);
 | |
| }
 | |
| 
 | |
| .runner-container .task-status-running {
 | |
|   background-color: var(--color-blue);
 | |
|   color: var(--color-white);
 | |
| }
 | |
| 
 | |
| .runner-container .task-status-cancelled,
 | |
| .runner-container .task-status-blocked {
 | |
|   background-color: var(--color-yellow);
 | |
|   color: var(--color-white);
 | |
| }
 | |
| 
 | |
| .run-list-item-right {
 | |
|   width: 130px;
 | |
|   display: flex;
 | |
|   flex-direction: column;
 | |
|   flex-shrink: 0;
 | |
|   gap: 3px;
 | |
|   color: var(--color-text-light);
 | |
| }
 | |
| 
 | |
| .run-list-item-right .run-list-meta {
 | |
|   display: flex;
 | |
|   flex-wrap: nowrap;
 | |
|   gap: .25rem;
 | |
|   align-items: center;
 | |
| }
 | |
| 
 | |
| .run-list .flex-item-trailing {
 | |
|   flex-wrap: nowrap;
 | |
|   width: 280px;
 | |
|   flex: 0 0 280px;
 | |
| }
 | |
| 
 | |
| .run-list-ref {
 | |
|   display: inline-block !important;
 | |
|   max-width: 105px;
 | |
| }
 | |
| 
 | |
| @media (max-width: 767.98px) {
 | |
|   .run-list .flex-item-trailing {
 | |
|     flex-direction: column;
 | |
|     align-items: flex-end;
 | |
|     width: auto;
 | |
|     flex-basis: auto;
 | |
|   }
 | |
|   .run-list-item-right,
 | |
|   .run-list-ref {
 | |
|     max-width: 110px;
 | |
|   }
 | |
| }
 |