Skip to Content
avatar image
-1
Former Member

Style only for one Layout

Hi Frriends,

I have two Layouts "sap.ui.layout.Grid" on the app. One of theme I want to add the Style.

.sapUiRespGrid.sapUiRespGridVSpace1>div {
      margin-bottom: 0rem;  
} 

How is this possible?

Thanks.

Rg. Joerg

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jan 24, 2017 at 09:09 PM

    add a dummy class to left side

    .dummyClassA .sapUiRespGrid.sapUiRespGridVSpace1>div{margin-bottom:0rem;}
    Add comment
    10|10000 characters needed characters exceeded

  • Jan 24, 2017 at 05:03 PM

    don't know what u are talking

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2017 at 05:22 PM

    Hi Jun,

    normaly it loks like this. Two layouts "sap.ui.layout.Grid" one with Fields and one with Table and chart. And spaces between the elements.

    but when I apply the follwing it loks like this.

    .sapUiRespGrid.sapUiRespGridVSpace1>div {
          margin-bottom: 0rem;  
    } 

    As you can see, the spaces between the Fields are gone. But also the Space between the chart and the Tale. But I want it only for the Layout on left hand side.

    Rg. Joerg

    Add comment
    10|10000 characters needed characters exceeded