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:
Alan Orth 2017-08-13 11:41:35 +03:00
parent de19620735
commit 0055110e47
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 1 additions and 1 deletions

View File

@ -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") }}
<section class="sidebar-module sidebar-module-inset">
<h4>{{ i18n "about" }}</h4>