SyuanYu 2 년 전
부모
커밋
4d04aada2b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      themes/hugo-bootstrap-5/layouts/_default/baseof.html
  2. 1 1
      themes/hugo-bootstrap-5/layouts/partials/sidebar.html

+ 1 - 1
themes/hugo-bootstrap-5/layouts/_default/baseof.html

@@ -38,7 +38,7 @@
       <div class="row justify-content-evenly">
         <div class="col-12 col-lg-8 blog-main">
 
-          <div class="row g-3 content-list">
+          <div class="row g-3 justify-content-center content-list">
             {{ block "main" . }}
             {{ end }}
           </div>

+ 1 - 1
themes/hugo-bootstrap-5/layouts/partials/sidebar.html

@@ -1,4 +1,4 @@
-<aside class="col-12 col-lg-3 ml-auto blog-sidebar mt-4 mt-lg-0">
+<aside class="col-12 col-lg-3 ml-auto blog-sidebar mt-4 mt-lg-0 px-4 px-lg-0">
   <!-- <div class="input-group mb-3 search-bar">
     <input type="text" class="form-control" placeholder="搜尋診所" aria-label="Recipient's username"
       aria-describedby="search-btn">