mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	fix media query edge case (#13546)
* fix media query edge case was failing for 768px width before * code review * define responsive breakpoints as less variables * add missing variables.less * rename variables, drop screen constraints * fix less import * Apply suggestions from code review Co-authored-by: silverwind <me@silverwind.io> * code review altough it doesnt matter, LESS lazy evals variables Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		@@ -1,3 +1,5 @@
 | 
			
		||||
@import "../variables.less";
 | 
			
		||||
 | 
			
		||||
:root {
 | 
			
		||||
  --color-primary: #87ab63;
 | 
			
		||||
  --color-primary-dark-1: #93b373;
 | 
			
		||||
@@ -1222,7 +1224,7 @@ td.blob-hunk {
 | 
			
		||||
  background: #2a2e3a;
 | 
			
		||||
  border-color: transparent !important;
 | 
			
		||||
 | 
			
		||||
  @media only screen and (max-width: 1200px) {
 | 
			
		||||
  @media @mediaLgAndDown {
 | 
			
		||||
    &::after {
 | 
			
		||||
      background: linear-gradient(to right, transparent 0%, #2a2e3a 100%);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user