mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Disallow leading zeroes in Less (#10407)
This commit is contained in:
		@@ -107,7 +107,7 @@
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    h1 {
 | 
			
		||||
        padding-bottom: 0.3em;
 | 
			
		||||
        padding-bottom: .3em;
 | 
			
		||||
        font-size: 2.25em;
 | 
			
		||||
        line-height: 1.2;
 | 
			
		||||
        border-bottom: 1px solid #eeeeee;
 | 
			
		||||
@@ -118,7 +118,7 @@
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    h2 {
 | 
			
		||||
        padding-bottom: 0.3em;
 | 
			
		||||
        padding-bottom: .3em;
 | 
			
		||||
        font-size: 1.75em;
 | 
			
		||||
        line-height: 1.225;
 | 
			
		||||
        border-bottom: 1px solid #eeeeee;
 | 
			
		||||
@@ -366,10 +366,10 @@
 | 
			
		||||
 | 
			
		||||
    code,
 | 
			
		||||
    tt {
 | 
			
		||||
        padding: 0.2em 0;
 | 
			
		||||
        padding: .2em 0;
 | 
			
		||||
        margin: 0;
 | 
			
		||||
        font-size: 85%;
 | 
			
		||||
        background-color: rgba(0, 0, 0, 0.04);
 | 
			
		||||
        background-color: rgba(0, 0, 0, .04);
 | 
			
		||||
        border-radius: 3px;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
@@ -377,7 +377,7 @@
 | 
			
		||||
    code:after,
 | 
			
		||||
    tt:before,
 | 
			
		||||
    tt:after {
 | 
			
		||||
        letter-spacing: -0.2em;
 | 
			
		||||
        letter-spacing: -.2em;
 | 
			
		||||
        content: "\00a0";
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user