Copy CSS as needed in a browser plugin like Stylus
.
Compatible and tested with Shopware 6.4/ 6.5
/** | |
* CMS editor / Shopping experiences: Hide rarely used section by default. | |
*/ | |
.sw-cms-slot { | |
display: block; | |
min-height: 100px !important; | |
} | |
.sw-cms-sidebar__block-settings .sw-collapse:first-child .sw-collapse__content { | |
display: none; | |
} | |
.sw-cms-sidebar__block-settings .sw-collapse:first-child:hover .sw-collapse__content { | |
display: block; | |
} |
/** | |
* TWIG dump() sometimes leads to visible injected code shown in plain text. | |
* Hide script/ style tags output, but not completely, to be aware of this happening. | |
* | |
* Maybe due to some Syntax error occurring in some templates. | |
* This hides the boilerplate and just shows the debug. | |
*/ | |
script, | |
style { | |
border: 2px solid magenta !important; | |
display: inline-block !important; | |
overflow: hidden !important; | |
width: 5px !important; | |
height: 5px !important; | |
} |