Skip to Content

How to make border invisible of Kpiview

Hello

I tried to implement a CSS class into a Kpiview to make the border invisible:

Unfortunately it doesnt`t work. There is still a 1px black border apparent.

Does anyone know how to get the border invisible?

tile2.jpg (5.2 kB)
tile3.jpg (73.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 19, 2016 at 10:45 AM

    Hello Christian,

    You should add "!important" after the second row:

    border: 0px !important;


    Best regards,


    Jean-Baptiste

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 20, 2016 at 08:31 AM

    Hi Christian, hi Jean-Baptiste,

    The !important annotation is not going to be sufficient since it is not more selective than the existing class. It will not override. You will have to add a custom css file to your dashboard and re-define the class provided by the SDK component. This one of the reasons why CSS best practices involve using "!important" only if really necessary.

    .scn-pack-KpiView {

    border: 1px solid white!important;

    }

    Kind regards

    Martin

    Add comment
    10|10000 characters needed characters exceeded