mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2024-12-22 13:26:14 +01:00
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: " ";
|
||||
}
|
||||
|
||||
/* 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: " ";
|
||||
}
|
||||
|
||||
/* 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() {
|
||||
$(this).magnificPopup({
|
||||
delegate: 'a.attachment-image',
|
||||
delegate: 'figure.attachment-image a',
|
||||
type: 'image',
|
||||
preload: [1, 1],
|
||||
gallery: {enabled: true },
|
||||
|
Loading…
Reference in New Issue
Block a user