Toolbar padding bottom

How to custom the css of the toolbar paddingScreenshot (498).png


1 Reply

SK Satheesh Kumar Balasubramanian Syncfusion Team December 27, 2021 12:16 PM UTC

Hi Belle, 
  
Thanks for using Syncfusion Products. 
  
We suggest you to use the below customized style for padding the toolbar. 
  
  
Index.razor: 
<SfToolbar @ref="YearToolbar" CssClass="year-toolbar">
</SfToolbar> 
  
<style> 
    .e-toolbar .e-tbar-btn.e-btn .e-icons.e-chevron-left { 
        color: red; 
    } 
  
    .e-toolbar .e-tbar-btn.e-btn .e-icons.e-chevron-right { 
        color: red; 
    } 
  
    .e-toolbar .e-toolbar-items .e-toolbar-item.year-active .e-tbar-btn.e-btn, 
    .e-toolbar .e-toolbar-items .e-toolbar-item.month-active .e-tbar-btn.e-btn { 
        color: blue; 
    } 
    .e-toolbar.year-toolbar { 
        padding-bottom: 5px; 
    } 
</style> 
  
Kindly try the above sample and let us know if this meets your requirement. 
  
Regards, 
Satheesh Kumar B 


Loader.
Up arrow icon