mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Center content on error and single page layouts (#2060)
This commit is contained in:
5
.changeset/little-garlics-begin.md
Normal file
5
.changeset/little-garlics-begin.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Center content on error and single page layouts
|
||||||
@@ -3,7 +3,7 @@ layout: base
|
|||||||
body-class: border-top-wide border-primary d-flex flex-column
|
body-class: border-top-wide border-primary d-flex flex-column
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="page my-auto">
|
<div class="page justify-content-center">
|
||||||
<div class="container-tight py-4">
|
<div class="container-tight py-4">
|
||||||
{% assign error = site.data.errors[page.error] %}
|
{% assign error = site.data.errors[page.error] %}
|
||||||
{% assign header = error.header | default: 'Oops… You just found an error page' %}
|
{% assign header = error.header | default: 'Oops… You just found an error page' %}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ layout: base
|
|||||||
body-class: d-flex flex-column
|
body-class: d-flex flex-column
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="page my-auto">
|
<div class="page justify-content-center">
|
||||||
<div class="container container-{{ page.container-size | default: 'tight' }} py-4">
|
<div class="container container-{{ page.container-size | default: 'tight' }} py-4">
|
||||||
|
|
||||||
{% unless page.hide-logo %}
|
{% unless page.hide-logo %}
|
||||||
|
|||||||
Reference in New Issue
Block a user