mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-30 19:15:23 +01:00 
			
		
		
		
	Backport https://github.com/go-gitea/gitea/pull/23481, https://github.com/go-gitea/gitea/pull/23504 and https://github.com/go-gitea/gitea/pull/23520 to 1.19, just so we have an easier time with future backports. Seems to work on a basic level. There was a merge conflict in `RepoActionView.vue`, otherwise it merged cleanly. --------- Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: Lauris BH <lauris@nix.lv>
		
			
				
	
	
		
			51 lines
		
	
	
		
			663 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			663 B
		
	
	
	
		
			CSS
		
	
	
	
	
	
| .chroma {
 | |
|   background-color: var(--color-code-bg);
 | |
| }
 | |
| 
 | |
| /* LineTableTD */
 | |
| .chroma .lntd {
 | |
|   vertical-align: top;
 | |
|   padding: 0;
 | |
|   margin: 0;
 | |
|   border: 0;
 | |
| }
 | |
| 
 | |
| /* LineTable */
 | |
| .chroma .lntable {
 | |
|   border-spacing: 0;
 | |
|   padding: 0;
 | |
|   margin: 0;
 | |
|   border: 0;
 | |
|   width: auto;
 | |
|   overflow: auto;
 | |
|   display: block;
 | |
| }
 | |
| 
 | |
| /* LineHighlight */
 | |
| .chroma .hl {
 | |
|   display: block;
 | |
|   width: 100%;
 | |
| }
 | |
| 
 | |
| /* LineNumbersTable */
 | |
| .chroma .lnt {
 | |
|   margin-right: 0.4em;
 | |
|   padding: 0 0.4em;
 | |
| }
 | |
| 
 | |
| /* LineNumbers */
 | |
| .chroma .ln {
 | |
|   margin-right: 0.4em;
 | |
|   padding: 0 0.4em;
 | |
| }
 | |
| 
 | |
| /* GenericStrong */
 | |
| .chroma .gs {
 | |
|   font-weight: 600;
 | |
| }
 | |
| 
 | |
| /* GenericUnderline */
 | |
| .chroma .gl {
 | |
|   text-decoration: underline;
 | |
| }
 |