male zmiany w css

This commit is contained in:
Mateusz Gruszczyński 2025-02-25 22:57:06 +01:00
parent 6ac006e355
commit b7d3b0a7e1
2 changed files with 10 additions and 40 deletions

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 %}