mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-18 02:07:05 +01:00
layouts/partials/sidebar.html: Use margin class instead of offset
Bootstrap 4.0 Beta 1 dropped the offset classes in favor of margin classes. We need to use `ml-auto` instead of `offset-sm-1` here to get the same effect. See: https://github.com/twbs/bootstrap/pull/22942 See: https://github.com/twbs/bootstrap/pull/23388
This commit is contained in:
parent
de19620735
commit
0055110e47
@ -1,4 +1,4 @@
|
|||||||
<aside class="col-sm-3 offset-sm-1 blog-sidebar">
|
<aside class="col-sm-3 ml-auto blog-sidebar">
|
||||||
{{ if and (.Site.Params.sidebar) (isset .Site.Params.sidebar "about") }}
|
{{ if and (.Site.Params.sidebar) (isset .Site.Params.sidebar "about") }}
|
||||||
<section class="sidebar-module sidebar-module-inset">
|
<section class="sidebar-module sidebar-module-inset">
|
||||||
<h4>{{ i18n "about" }}</h4>
|
<h4>{{ i18n "about" }}</h4>
|
||||||
|
Loading…
Reference in New Issue
Block a user