mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	style(next): improve fit of calendar on mobile
This commit is contained in:
		
							parent
							
								
									1bc70e9fed
								
							
						
					
					
						commit
						c98df4d6c2
					
				| @ -1159,9 +1159,25 @@ body.mobile .dropdown-menu .dropdown-item.submenu-open .dropdown-toggle::after { | ||||
| 
 | ||||
| .calendar-dropdown-widget .calendar-header .calendar-month-selector .select-button { | ||||
|     --select-arrow-svg: ""; /* Disable the dropdown arrow */     | ||||
| } | ||||
| 
 | ||||
|     min-width: 120px; | ||||
|     padding: 0 10px; | ||||
| @media (max-width: 992px) { | ||||
|     .calendar-dropdown-widget .calendar-header button { | ||||
|         margin: 0 !important; | ||||
|         padding: 0; | ||||
|     } | ||||
| 
 | ||||
|     .calendar-dropdown-widget .calendar-header .calendar-month-selector .select-button { | ||||
|         padding: 0 8px; | ||||
|         flex-grow: 1; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| @media (min-width: 992px) { | ||||
|     .calendar-dropdown-widget .calendar-header .calendar-month-selector .select-button { | ||||
|         min-width: 120px; | ||||
|         padding: 0 10px; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| .calendar-dropdown-widget .calendar-header .dropdown-toggle::after { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran