1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

Replace .page-center with .my-auto in single page layouts (#2009)

Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
This commit is contained in:
Radosław Kowalewski
2024-12-30 22:09:31 +01:00
committed by GitHub
parent b251629a65
commit f6e885b07e
3 changed files with 7 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Replace `.page-center` with `.my-auto` in single page layouts

View File

@@ -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 page-center"> <div class="page my-auto">
<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' %}

View File

@@ -3,7 +3,7 @@ layout: base
body-class: d-flex flex-column body-class: d-flex flex-column
--- ---
<div class="page page-center"> <div class="page my-auto">
<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 %}