layout base | atualizar page se erro ao arrastar

This commit is contained in:
2025-01-03 16:25:28 -03:00
parent a2d751e88f
commit 0460040af3
6 changed files with 13 additions and 6 deletions

View File

@@ -9,6 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="{% static 'pico.css' %}">
<link rel="stylesheet" href="{% static 'base.css' %}">
{% block 'head' %}
{% endblock %}

View File

@@ -1,9 +1,10 @@
body {
margin: 0;
margin: 15px;
padding: 15px;
font-family: Arial, sans-serif;
}
.sidebar {
/* .sidebar {
height: 100vh;
width: 200px;
background-color: #f1f1f1;
@@ -14,7 +15,7 @@ body {
}
.content {
margin-left: 220px; /* Ajustar para a largura da sidebar + padding */
margin-left: 220px;
padding: 20px;
}
@@ -32,4 +33,4 @@ li a {
li a:hover {
background-color: #ccc;
}
} */

View File

@@ -62,7 +62,6 @@
background-color: rgb(75, 75, 75);
border-radius: 15px;
padding: 15px;
margin: 15px;
min-height: 300px;
max-width: 1370px;
max-width: 1400px;
}

View File

@@ -68,6 +68,7 @@ var resposta = fetch(url, {method: 'POST',
});
}else{
alert('Aqui não pode!!!')
location.reload();
}
}