mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +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:
		@@ -88,16 +88,16 @@
 | 
			
		||||
 | 
			
		||||
  #notice-table {
 | 
			
		||||
    .notice-description {
 | 
			
		||||
      @media only screen and (max-width: 767px) {
 | 
			
		||||
      @media @mediaSm {
 | 
			
		||||
        max-width: 80vw;
 | 
			
		||||
      }
 | 
			
		||||
      @media only screen and (max-width: 991px) and (min-width: 768px) {
 | 
			
		||||
      @media @mediaMd {
 | 
			
		||||
        max-width: 360px;
 | 
			
		||||
      }
 | 
			
		||||
      @media only screen and (min-width: 992px) and (max-width: 1199.98px) {
 | 
			
		||||
      @media @mediaLg {
 | 
			
		||||
        max-width: 510px;
 | 
			
		||||
      }
 | 
			
		||||
      @media only screen and (min-width: 1200px) {
 | 
			
		||||
      @media @mediaXl {
 | 
			
		||||
        max-width: 640px;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user