Hi,
I would to add some custom CSS to change a few things in IconTabBar and basically to reduce the margin in the bottom.
XML View:
<IconTabBar id="SizeTabs">
<items>
<IconTabFilter text="General" class="customStyle">
And on my CSS file:
.customStyle .sapMITBHead {
margin: 0;
}
.customStyle .sapUiMedia-Std-Phone .sapMITBHead {
margin: 0 !important;
}
And I call the CSS file from my index.html.
In general, it's working and the margin is really reduced but when I change it from desktop mode to mobile phone mode (with the mozilla debugging tools), it takes the default .sapUiMedia-Std-Phone .sapMITBHead class and for some reason I cannot overwrite it.
Any ideas of what I am doing wrong?
Thank you
Request clarification before answering.
IIiana, can you please share how your screen looks in desktop and mobile and how it is supposed to look.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you want to change the margin, i think it is better to use the SAP predefined classes
https://sapui5.hana.ondemand.com/#/topic/777168ffe8324873973151dae2356d1c
Regards
Fabrice
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.