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

Fix vertical alignment in single page and error layouts (#2114)

Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
Co-authored-by: codecalm <codecalm@gmail.com>
This commit is contained in:
carlosmintfan
2025-02-02 22:56:29 -03:00
committed by GitHub
parent a370919ebe
commit b28ce9f2e8
3 changed files with 8 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fix vertical alignment in single page and error layouts

View File

@@ -1,9 +1,9 @@
---
layout: base
body-class: border-top-wide border-primary d-flex flex-column
body-class: border-top-wide border-primary
---
<div class="page justify-content-center">
<div class="page page-center">
<div class="container-tight py-4">
{% assign error = errors[page-error] %}
{% assign header = error.header | default: 'Oops… You just found an error page' %}

View File

@@ -1,9 +1,8 @@
---
layout: base
body-class: d-flex flex-column
---
<div class="page">
<div class="page page-center">
<div class="container container-{{ container-size | default: 'tight' }} py-4">
{% unless hide-logo %}
<div class="text-center mb-4">