make logout a POST operation

This commit is contained in:
imperosol
2025-03-12 00:45:19 +01:00
parent aaa8c4ba67
commit 5c5755d4a6
3 changed files with 30 additions and 7 deletions

View File

@ -251,21 +251,31 @@ $hovered-red-text-color: #ff4d4d;
justify-content: flex-start;
}
>a {
a, button {
font-size: 100%;
margin: 0;
text-align: right;
color: $text-color;
&:hover {
color: $hovered-text-color;
}
}
&:last-child {
color: $red-text-color;
form#logout-form {
margin: 0;
display: inline;
}
#logout-form button {
color: $red-text-color;
&:hover {
color: $hovered-red-text-color;
}
&:hover {
color: $hovered-red-text-color;
}
background: none;
border: none;
cursor: pointer;
padding: 0;
}
}
}