File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 < div id ="sidebar " class ="d-flex flex-column ">
1515 {% include sidebar.html %}
1616 </ div >
17- < div id ="main-wrap ">
17+ < div id ="main-wrap " class =" bg-white " >
1818 {% include topbar.html %}
1919 < div id ="main ">
2020
Original file line number Diff line number Diff line change 55# MIT Licensed
66---
77
8- < div class ="row bg-white ">
8+ < div class ="row ">
99 {% include date-format.html %}
1010
1111 < div id ="post-wrap " class ="col-12 col-lg-11 col-xl-8 ">
@@ -82,7 +82,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
8282
8383</ div> <!-- .row -->
8484
85- < div class ="row bg-white ">
85+ < div class ="row ">
8686 < div id ="post-extend-wrap " class ="col-12 col-lg-11 col-xl-8 ">
8787
8888 < div class ="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4 ">
Original file line number Diff line number Diff line change @@ -358,7 +358,13 @@ body {
358358}
359359
360360#main >div .row :first-child >div :first-child {
361- min-height : calc (100vh - 3rem - 6rem ); /* 3rem for topbar, 6rem for footer */
361+ /* 3rem for topbar, 6rem for footer */
362+ min-height : calc (100vh - 3rem - 6rem );
363+ }
364+
365+ #post-wrap {
366+ /* 350px for post extended block */
367+ min-height : calc (100vh - 3rem - 6rem - 470px ) !important ;
362368}
363369
364370#topbar .row ,
@@ -806,12 +812,16 @@ div.tooltip-inner { /* Overrided BS4 Tooltip */
806812
807813@media all and (max-width : 576px ) {
808814
815+ #main-wrap {
816+ padding-bottom : 10rem ; /* footer height */
817+ }
818+
809819 #main >div .row :first-child >div :first-child {
810820 min-height : calc (100vh - 3rem - 10rem ); /* topbar is 3rem and footer is 10rem */
811821 }
812822
813- #main -wrap {
814- padding-bottom : 10 rem ; /* footer height */
823+ #post -wrap {
824+ min-height : calc ( 100 vh - 3 rem - 10 rem - 470 px ) !important ;
815825 }
816826
817827 #avatar >a {
You can’t perform that action at this time.
0 commit comments