Skip to content

Commit

Permalink
fix: fix wrong class and parameter name (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys authored Jul 17, 2022
1 parent 66293c0 commit b280889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion layouts/shortcodes/img.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{- $source := ($.Page.Resources.ByType "image").GetMatch (printf "%s" (.Get "name")) }}
{{- $customAlt := .Get "alt" }}
{{- $customSize := .Get "size" | lower }}
{{- $lazyLoad := default (default true $.Site.Params.GeekblogImageLazyLoading) (.Get "lazy") }}
{{- $lazyLoad := default (default true $.Site.Params.GeekdocImageLazyLoading) (.Get "lazy") }}

{{- with $source }}
{{- $caption := default .Title $customAlt }}
Expand Down
4 changes: 2 additions & 2 deletions src/sass/_mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@
.flex-mobile-column {
flex-direction: column;

&.gblog-columns {
&.gdoc-columns {
margin: $padding-32 0;
}

.gblog-columns__content {
.gdoc-columns__content {
min-width: auto;
margin: 0;
}
Expand Down

0 comments on commit b280889

Please sign in to comment.