Compare commits

...

2 Commits

Author SHA1 Message Date
Mateusz Gruszczyński
967e1bee27 male zmiany w css 2025-02-25 22:59:38 +01:00
Mateusz Gruszczyński
b7d3b0a7e1 male zmiany w css 2025-02-25 22:57:06 +01:00
3 changed files with 24 additions and 41 deletions

View File

@ -199,7 +199,20 @@
.btn-logout { .btn-logout {
color: #fff; color: #fff;
} }
/* Ustawienia globalne */
html, body {
height: 100%;
margin: 0;
}
body {
display: flex;
flex-direction: column;
}
/* Wrapper głównej zawartości, który rośnie, aby wypełnić przestrzeń */
.wrapper {
flex: 1;
}
</style> </style>
{% block head %}{% endblock %} {% block head %}{% endblock %}

View File

@ -1,28 +1,13 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block head %} {% block head %}
<style> <style>
/* Poprawiona responsywność i centrowanie */ @media (min-width: 577px) and (min-height: 600px) {
.full-height-row { .full-height-row {
display: flex; min-height: calc(100vh - 56px) !important;
align-items: center; align-items: flex-start;
justify-content: center; padding-top: 15%; /* lub inna wartość, która odpowiada Twoim potrzebom */
min-height: 100vh;
padding-top: 2rem;
}
@media (max-width: 768px) {
.full-height-row {
min-height: auto;
padding-top: 1rem;
padding-bottom: 1rem;
}
}
.card {
width: 100%;
max-width: 420px;
margin: auto;
} }
}
</style> </style>
{% endblock %} {% endblock %}
{% block content %} {% block content %}

View File

@ -1,28 +1,13 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block head %} {% block head %}
<style> <style>
/* Poprawiona responsywność i centrowanie */ @media (min-width: 577px) and (min-height: 600px) {
.full-height-row { .full-height-row {
display: flex; min-height: calc(100vh - 56px) !important;
align-items: center; align-items: flex-start;
justify-content: center; padding-top: 15%; /* lub inna wartość, która odpowiada Twoim potrzebom */
min-height: 100vh;
padding-top: 2rem;
}
@media (max-width: 768px) {
.full-height-row {
min-height: auto;
padding-top: 1rem;
padding-bottom: 1rem;
}
}
.card {
width: 100%;
max-width: 420px;
margin: auto;
} }
}
</style> </style>
{% endblock %} {% endblock %}
{% block content %} {% block content %}