fixed admin widgets css

This commit is contained in:
David Katrinka 2025-06-17 17:31:23 +02:00
parent 945aa9d18c
commit 871f656007
2 changed files with 11 additions and 4 deletions

View File

@ -20,7 +20,7 @@
</div> </div>
<div class="btn-control"> <div class="btn-control">
<a href="<?php the_permalink('admin:banlist', [$user->get_id()]) ?>" class="btn btn-secondary hover-anim">Show all</a> <a href="<?php the_permalink('admin:banlist', [$user->get_id()]) ?>" class="btn btn-secondary hover-anim">Show all</a>
<a href="<?php the_permalink('admin:ban-new', [$user->get_id()]) ?>" class="btn btn-primary">New ban</a> <a href="<?php the_permalink('admin:ban-new', [$user->get_id()]) ?>" class="btn btn-primary hover-anim">New ban</a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -203,8 +203,9 @@ body {
.admin-block { .admin-block {
overflow: hidden; overflow: hidden;
border-radius: 5px; border-radius: 5px;
border: 1px solid #015847;
margin-bottom: 20px; margin-bottom: 20px;
background: #f1fff2
} }
.admin-block__content { .admin-block__content {
padding: 10px; padding: 10px;
@ -212,9 +213,9 @@ body {
.admin-block__title { .admin-block__title {
font-size: 18px; font-size: 18px;
font-family: var(--common-font); font-family: var(--common-font);
background-color: #015847;
padding: 10px 10px; padding: 10px 10px;
color: var(--title-color); color: #eaf8eb;
} }
.admin-block__table .row { .admin-block__table .row {
padding: 10px; padding: 10px;
@ -286,3 +287,9 @@ body {
border-radius: 10px; border-radius: 10px;
} }
.admin-block__content .btn-control {
display: flex;
justify-content: space-between;
}