small change to user page

This commit is contained in:
Lennart
2025-04-27 14:07:44 +02:00
parent 2521a9b776
commit ef636308de
2 changed files with 18 additions and 6 deletions

View File

@@ -103,12 +103,13 @@ section {
}
table {
border: 2px solid black;
border: 1px solid black;
border-radius: 12px;
box-shadow: 4px 2px 12px -6px black;
border-collapse: collapse;
overflow-x: scroll;
display: block;
width: fit-content;
td,
th {
@@ -127,6 +128,22 @@ table {
tr:hover {
background: #DDD;
}
tr:first-child th {
border-top: 0;
}
tr:last-child td {
border-bottom: 0;
}
tr :first-child {
border-left: 0;
}
tr :last-child {
border-right: 0;
}
}
#page-user {

View File

@@ -8,11 +8,6 @@
<section>
<h2>Profile</h2>
<form>
<label for="user_displayname">Displayname</label>
<input type="text" value="{{ user.displayname.clone().unwrap_or(String::new()) }}" id="user_displayname" />
</form>
<h3>Groups</h3>
<ul>