mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
fix: overflow when the gallery is inside other containers [skip ci]
Fix the fix in #2653 This is a simple fix, hopefully it will be fully resolved in the future.
This commit is contained in:
@@ -4390,7 +4390,7 @@ pre {
|
||||
}
|
||||
@media (width < 853px) {
|
||||
.width-patch {
|
||||
width: 90vw;
|
||||
width: 80vw;
|
||||
}
|
||||
}
|
||||
@media (width >= 853px) {
|
||||
|
||||
@@ -203,7 +203,7 @@ pre {
|
||||
/* placeholder for gallery/carousel */
|
||||
@variant max-md {
|
||||
.width-patch {
|
||||
width: 90vw;
|
||||
width: 80vw;
|
||||
}
|
||||
}
|
||||
@variant min-md {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{{ end }}
|
||||
|
||||
|
||||
<div class="width-patch"></div>
|
||||
{{ if not .Parent }}<div class="width-patch"></div>{{ end }}
|
||||
<div
|
||||
id="{{ $id }}"
|
||||
class="relative"
|
||||
|
||||
@@ -25,8 +25,7 @@
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
|
||||
|
||||
<div class="width-patch"></div>
|
||||
{{ if not .Parent }}<div class="width-patch"></div>{{ end }}
|
||||
<div id="{{- $id -}}" class="gallery">
|
||||
{{ $content | safeHTML -}}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user