File tree Expand file tree Collapse file tree 4 files changed +36
-23
lines changed
Expand file tree Collapse file tree 4 files changed +36
-23
lines changed Original file line number Diff line number Diff line change 1616 * specific language governing permissions and limitations
1717 * under the License.
1818 */
19-
20- .answer-container {
19+ .main-mx-with {
2120 width : 100% ;
22- min-height : calc (100vh - 95px - 62px );
2321 max-width : 1072px ;
2422}
2523
24+ .answer-container {
25+ min-height : calc (100vh - 53px - 62px );
26+ }
27+
2628.page-right-side {
2729 flex : none ;
2830 width : 300px ;
3133
3234// lg
3335@media screen and (max-width : 1199.9px ) {
34- .answer-container {
36+ .main-mx-with {
3537 padding-left : 12px ;
3638 padding-right : 12px ;
3739 }
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const Index: FC = () => {
5454 </ div >
5555 < div className = "flex-fill w-100" >
5656 < div className = "d-flex justify-content-center px-0 px-md-4" >
57- < div className = "answer-container" >
57+ < div className = "answer-container main-mx-with " >
5858 < Row className = "py-4" >
5959 < Col className = "page-main flex-auto" >
6060 < Outlet />
@@ -65,7 +65,11 @@ const Index: FC = () => {
6565 </ Row >
6666 </ div >
6767 </ div >
68- < Footer />
68+ < div className = "d-flex justify-content-center px-0 px-md-4" >
69+ < div className = "main-mx-with" >
70+ < Footer />
71+ </ div >
72+ </ div >
6973 </ div >
7074 </ div >
7175 ) ;
Original file line number Diff line number Diff line change @@ -34,9 +34,12 @@ const Index: FC = () => {
3434 </ div >
3535 < div className = "flex-fill w-100 overflow-x-hidden" >
3636 < div className = "d-flex justify-content-center px-0 px-md-4" >
37- < div className = "answer-container" >
37+ < div className = "answer-container main-mx-with " >
3838 < Outlet />
39-
39+ </ div >
40+ </ div >
41+ < div className = "d-flex justify-content-center" >
42+ < div className = "main-mx-with" >
4043 < Footer />
4144 </ div >
4245 </ div >
Original file line number Diff line number Diff line change 1919
2020-->
2121{{define "footer"}}
22- < footer class ="py-3 bg-light w-100 ">
23- < p class ="text-center mb-0 small ">
24- < a class ="me-3 " href ="{{$.baseURL}}/tos " data-discover ="true ">
25- {{translator $.language "ui.admin.legal.terms_of_service.label"}}
26- </ a >
27- < a href ="{{$.baseURL}}/privacy " data-discover ="true ">
28- {{translator $.language "ui.admin.legal.privacy_policy.label"}}
29- </ a >
30- </ p >
31- < p class ="text-center mb-0 small text-secondary ">
32- {{$cc := (join " " .siteinfo.Year .siteinfo.General.Name) -}}
33- {{- $ft := translator $.language "ui.footer.build_on" "cc" $cc -}}
34- {{templateHTML (replaceHTMLTag $ft "< a href =\ "https://answer.apache.org/\" target=\"_blank\"> Answer </ a > ")}}
35- </ p >
36- </ footer >
22+ < div class ="main-mx-with ">
23+ < div class ="row ">
24+ < footer class ="py-3 d-flex flex-wrap align-items-center justify-content-between text-secondary small ">
25+ < div class ="d-flex align-items-center ">
26+ {{$cc := (join " " .siteinfo.General.Name .siteinfo.Year)}}
27+ < div className ="me-3 "> {{- $ft := translator $.language "ui.footer.build_on" "cc" $cc -}}</ div >
28+ < a class ="me-3 " href ="{{$.baseURL}}/tos " data-discover ="true " class ="link-secondary ">
29+ {{translator $.language "ui.admin.legal.terms_of_service.label"}}
30+ </ a >
31+ < a href ="{{$.baseURL}}/privacy " data-discover ="true " class ="link-secondary ">
32+ {{translator $.language "ui.admin.legal.privacy_policy.label"}}
33+ </ a >
34+ </ div >
35+ < div class ="text-center mb-0 small text-secondary link-secondary ">
36+ {{templateHTML (replaceHTMLTag $ft "< a href =\ "https://answer.apache.org/\" target=\"_blank\"> Answer </ a > ")}}
37+ </ div >
38+ </ footer >
39+ </ div >
40+ </ div >
3741 </ div>
3842 </ div>
3943 </ div>
You can’t perform that action at this time.
0 commit comments