okay fix figure stuff for real
This commit is contained in:
parent
e8638338f1
commit
3eeb1e0714
2 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ $sel: '';
|
|||
}
|
||||
}
|
||||
|
||||
.full-width {
|
||||
.content figure.full-width {
|
||||
margin-left: -50vw;
|
||||
margin-right: -50vw;
|
||||
width: 100vw;
|
||||
|
|
|
@ -17,7 +17,7 @@ module BlogHelper
|
|||
def figure(img_url, caption, alt = nil, img_class: nil)
|
||||
alt ||= caption
|
||||
<<~HTML
|
||||
<figure class="image" class="#{img_class}">
|
||||
<figure class="image #{img_class}">
|
||||
<a href="#{img_url}">
|
||||
<img src="#{img_url}" alt="#{alt}">
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue