A fork of the Materia GTK theme.

By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

gnome-shell: Use min-height instead of height for .calendar-month-label

Otherwise, the label could be cut off with a large font size.

Found out by @tuberry in https://github.com/nana-4/materia-theme/pull/504.

roundabout,
created on Wednesday, 16 September 2020, 11:51:54 (1600257114), received on Sunday, 11 May 2025, 13:22:55 (1746969775)
Author identity: nana-4 <hnmaigo@gmail.com>

9045c00314bb23b80e3c0f89e74fd98ac3e5b255

src/gnome-shell/sass/components/menu/_calendar.scss

@@ -112,7 +112,7 @@ $calendar-column-margin: 0 8px;

                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              // month
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                              .calendar-month-label {
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                transition-duration: $duration;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            height: $menuitem-size - 6px * 2;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            min-height: $menuitem-size - 6px * 2;
                                        
                                        
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                margin: 2px;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                padding: 6px 8px;
                                        
                                        
                                            
                                            
                                            
                                            
                                        
                                    
                                
                                
                                
                            
                                
                                    
                                        
                                            
                                                border-radius: $corner-radius;