mirror of https://gitlab.com/brutaldon/brutaldon
Fix broken lightbox and attachments-spacing in bulma themes
Introduced by changes associated with brutstrap theme
This commit is contained in:
parent
3293ef5ebf
commit
7d72088422
|
@ -250,3 +250,12 @@ a.navbar-item span:nth-child(2):before
|
||||||
content: " ";
|
content: " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix some rules that don't need to be there */
|
||||||
|
.content figure:not(:last-child)
|
||||||
|
{
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
.content figure:not(:first-child)
|
||||||
|
{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
|
@ -234,3 +234,13 @@ a.navbar-item span:nth-child(2):before
|
||||||
{
|
{
|
||||||
content: " ";
|
content: " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fix some rules that don't need to be there */
|
||||||
|
.content figure:not(:last-child)
|
||||||
|
{
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
.content figure:not(:first-child)
|
||||||
|
{
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
|
@ -200,7 +200,7 @@
|
||||||
{
|
{
|
||||||
$('.attachments').each(function() {
|
$('.attachments').each(function() {
|
||||||
$(this).magnificPopup({
|
$(this).magnificPopup({
|
||||||
delegate: 'a.attachment-image',
|
delegate: 'figure.attachment-image a',
|
||||||
type: 'image',
|
type: 'image',
|
||||||
preload: [1, 1],
|
preload: [1, 1],
|
||||||
gallery: {enabled: true },
|
gallery: {enabled: true },
|
||||||
|
|
Loading…
Reference in New Issue