File tree Expand file tree Collapse file tree
packages/volto-code-block/src/theme Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,8 +172,8 @@ div.codeBlockCaption {
172172 }
173173
174174 .codeBlockCaption {
175- clear : both ;
176175 margin-top : 0.5rem ;
176+ clear : both ;
177177 }
178178}
179179
@@ -224,8 +224,8 @@ div.codeBlockCaption {
224224 }
225225
226226 .codeBlockCaption {
227- clear : both ;
228227 margin-top : 0.5rem ;
228+ clear : both ;
229229 }
230230 }
231231
@@ -240,16 +240,26 @@ div.codeBlockCaption {
240240 & .edit {
241241 .gist.editLayer {
242242 position : absolute ;
243+ z-index : 1 ;
243244 top : 0 ;
244245 left : 0 ;
245246 width : 100% ;
246247 height : 100% ;
247248 background-color : rgba (0 , 0 , 0 , 0.1 );
248- z-index : 1 ;
249249 }
250250
251251 .gist-content-wrapper {
252252 position : relative ;
253253 }
254254 }
255255}
256+
257+ /*
258+ Accordion compatibility: prevent floats from leaking outside accordion panels
259+ */
260+ .accordion-block .ui.accordion .content.active ::after ,
261+ .accordion-block .ui.accordion .content ::after {
262+ display : table ;
263+ clear : both ;
264+ content : ' ' ;
265+ }
You can’t perform that action at this time.
0 commit comments