Change the width of the Header separate line

Hi, 
i want to change the width of the Header Separate line in the dialog. I will provide a example. 

Image_4803_1720167871011


3 Replies 1 reply marked as answer

UD UdhayaKumar Duraisamy Syncfusion Team July 8, 2024 01:04 PM UTC

The separator below the Dialog header is created by adding a border-bottom to the Header section. You can also add the custom separator at the sample level using a Header template and customize it using CSS, as shown in the code snippet below:


    .e-dialog .e-dlg-header-content {

        border-bottom: none;

    }

 

    #header_content {

        width: 25%;

        border-bottom: 1px solid #dee2e6;

        padding-bottom: 3%;

    }


 


Sample: https://blazorplayground.syncfusion.com/embed/BZVpNwDFTGZJGodI?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5


Marked as answer

KG Kavindu Gamage August 28, 2024 07:46 PM UTC

Hi, 

Can i know how to remove the border bottom of the body section?

Thank you.

Image_8118_1724874334750





UD UdhayaKumar Duraisamy Syncfusion Team August 29, 2024 04:51 PM UTC

You can modify the line under the content of the Dialog component using the CSS class shared below:

    .e-dialog .e-footer-content {

        border-bottom-left-radius: 0;

        border-bottom-right-radius: 0;

        border-top: none;

        bottom: 0;

        display: block;

        right: 0;

        width: 100%;

    }


For more clarity, you can refer to the sample linked below: https://blazorplayground.syncfusion.com/embed/VZBzNPhYxDxDcBbP?appbar=true&editor=true&result=true&errorlist=true&theme=bootstrap5


Loader.
Up arrow icon