mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-10-27 01:32:10 +08:00 
			
		
		
		
	fix side nav width
This commit is contained in:
		
							parent
							
								
									3d58e50bde
								
							
						
					
					
						commit
						ea16b3353b
					
				| @ -55,7 +55,7 @@ export default { | |||||||
|   methods: { |   methods: { | ||||||
|     handleTitleClick(item) { |     handleTitleClick(item) { | ||||||
|       const firstGroup = item.groups && item.groups[0]; |       const firstGroup = item.groups && item.groups[0]; | ||||||
|       if (firstGroup && firstGroup.list && firstGroup.list.length !==  0) { |       if (firstGroup && firstGroup.list && firstGroup.list.length !== 0) { | ||||||
|         return this.$router.replace(this.base + firstGroup.list[0].path); |         return this.$router.replace(this.base + firstGroup.list[0].path); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
| @ -65,7 +65,7 @@ export default { | |||||||
| 
 | 
 | ||||||
| <style lang="css"> | <style lang="css"> | ||||||
|   .side-nav { |   .side-nav { | ||||||
|     width: 250px; |     flex: 0 0 250px; | ||||||
|     box-sizing: border-box; |     box-sizing: border-box; | ||||||
|     padding: 40px 0; |     padding: 40px 0; | ||||||
|     border-right: 1px solid #e5e5e5; |     border-right: 1px solid #e5e5e5; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user