Hide the underline

I tried to find what style I had to edit to remove the underline but could not figure it out. Thanks


4 Replies 1 reply marked as answer

SP Sureshkumar P Syncfusion Team July 14, 2022 09:05 AM UTC

Hi Eric,

We suggest you can achieve your requirement by using the below CSS styles.

Find the code example here:

.custom-style.e-input-group:not(.e-float-icon-left):not(.e-float-input)::before,

    .custom-style.e-input-group:not(.e-float-icon-left):not(.e-float-input)::after,

    .custom-style.e-input-group.e-float-icon-left:not(.e-float-input) .e-input-in-wrap::before,

    .custom-style.e-input-group.e-float-icon-left:not(.e-float-input) .e-input-in-wrap::after,

    .custom-style.e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input)::before,

    .custom-style.e-input-group.e-control-wrapper:not(.e-float-icon-left):not(.e-float-input)::after,

    .custom-style.e-input-group.e-control-wrapper.e-float-icon-left:not(.e-float-input) .e-input-in-wrap::before,

    .custom-style.e-input-group.e-control-wrapper.e-float-icon-left:not(.e-float-input) .e-input-in-wrap::after {

      background: none;

    }

 

In the above, we have added the cssClass property to override the specific component only.

Find the sample here: https://stackblitz.com/edit/wsjq2j?file=index.html

Regards,

Sureshkumar P



ER Eric July 14, 2022 02:06 PM UTC

The underline is still there in the sample you provided.

Maybe I was not clear. I want the horizontal line in the input box to disappear.


Thanks



ER Eric July 14, 2022 02:48 PM UTC

Finally got it to hide with

.custom-style.e-input-group:not(.e-success):not(.e-warning):not(.e-error), .custom-style.e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
        border-bottom:0px !important;
    }

Marked as answer

SP Sureshkumar P Syncfusion Team July 15, 2022 04:42 AM UTC

Eric,


Thanks for your update.


Regards,

Sureshkumar P


Loader.
Up arrow icon