Fix the new expand on click option
This commit is contained in:
parent
872f1ca3a5
commit
63203587df
|
|
@ -472,7 +472,7 @@ div#tarteaucitronServices {
|
|||
}
|
||||
|
||||
#tarteaucitron #tarteaucitronServices .tarteaucitronTitle + [id^="tarteaucitronDetails"] {
|
||||
width: 100%;
|
||||
width: Calc(100% - 3rem);
|
||||
font-weight:500;
|
||||
margin:0;
|
||||
padding:1.5rem;
|
||||
|
|
|
|||
|
|
@ -284,6 +284,11 @@ var tarteaucitron = {
|
|||
document.getElementsByTagName('head')[0].appendChild(customThemeMiddle);
|
||||
}
|
||||
|
||||
// disable the expand option if services grouped by category
|
||||
if (tarteaucitron.parameters.groupServices == true) {
|
||||
tarteaucitron.parameters.showDetailsOnClick = false;
|
||||
}
|
||||
|
||||
// css for the popup bar TODO: add it on the css file
|
||||
if (tarteaucitron.orientation === 'popup') {
|
||||
var customThemePopup = document.createElement('style'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue