mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Adjust max-widths for the repository file table (#20243)
Adjust the max-widths for the repository file table to allow for nicer resizing of the names and commit messages. Fix #20040 Signed-off-by: Andrew Thornton <art27@cantab.net> ## Screenshots ## MediaXL  ## MediaLg  ## MediaMd  ## MediaSm 
This commit is contained in:
		@@ -352,11 +352,31 @@
 | 
			
		||||
        overflow: initial;
 | 
			
		||||
 | 
			
		||||
        &.name {
 | 
			
		||||
          max-width: 150px;
 | 
			
		||||
          @media @mediaXl {
 | 
			
		||||
            max-width: 150px;
 | 
			
		||||
          }
 | 
			
		||||
          @media @mediaLg {
 | 
			
		||||
            max-width: 200px;
 | 
			
		||||
          }
 | 
			
		||||
          @media @mediaMd {
 | 
			
		||||
            max-width: 300px;
 | 
			
		||||
          }
 | 
			
		||||
          width: 33%;
 | 
			
		||||
 | 
			
		||||
          max-width: calc(100vw - 140px);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &.message {
 | 
			
		||||
          max-width: 400px;
 | 
			
		||||
          @media @mediaXl {
 | 
			
		||||
            max-width: 400px;
 | 
			
		||||
          }
 | 
			
		||||
          @media @mediaLg {
 | 
			
		||||
            max-width: 350px;
 | 
			
		||||
          }
 | 
			
		||||
          @media @mediaMd {
 | 
			
		||||
            max-width: 250px;
 | 
			
		||||
          }
 | 
			
		||||
          width: 66%;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        &.age {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user