mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00: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) {
|
@media (width < 853px) {
|
||||||
.width-patch {
|
.width-patch {
|
||||||
width: 90vw;
|
width: 80vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (width >= 853px) {
|
@media (width >= 853px) {
|
||||||
|
|||||||
+1
-1
@@ -203,7 +203,7 @@ pre {
|
|||||||
/* placeholder for gallery/carousel */
|
/* placeholder for gallery/carousel */
|
||||||
@variant max-md {
|
@variant max-md {
|
||||||
.width-patch {
|
.width-patch {
|
||||||
width: 90vw;
|
width: 80vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@variant min-md {
|
@variant min-md {
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
<div class="width-patch"></div>
|
{{ if not .Parent }}<div class="width-patch"></div>{{ end }}
|
||||||
<div
|
<div
|
||||||
id="{{ $id }}"
|
id="{{ $id }}"
|
||||||
class="relative"
|
class="relative"
|
||||||
|
|||||||
@@ -25,8 +25,7 @@
|
|||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
{{ if not .Parent }}<div class="width-patch"></div>{{ end }}
|
||||||
<div class="width-patch"></div>
|
|
||||||
<div id="{{- $id -}}" class="gallery">
|
<div id="{{- $id -}}" class="gallery">
|
||||||
{{ $content | safeHTML -}}
|
{{ $content | safeHTML -}}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user