mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe
synced 2025-04-30 19:19:29 +08:00
Align pagination and moderation buttons
This commit is contained in:
parent
0b071b77b2
commit
6c73f448a3
3 changed files with 45 additions and 18 deletions
|
@ -41,5 +41,14 @@
|
|||
height: inherit;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
.pagination-container {
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
|
||||
.btn {
|
||||
margin-left: 0.6em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,25 +1,44 @@
|
|||
@import '../../../../_variables.scss';
|
||||
|
||||
.reports-header .right-side {
|
||||
.users-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
|
||||
.search-input-container {
|
||||
padding: 0.8rem;
|
||||
.right-side {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.search-input {
|
||||
width: 100%;
|
||||
line-height: 1.125rem;
|
||||
font-size: 1rem;
|
||||
padding: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.search-input-container {
|
||||
padding: 0.8rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.search-icon {
|
||||
margin-right: 0.3em;
|
||||
.search-input {
|
||||
width: 100%;
|
||||
line-height: 1.125rem;
|
||||
font-size: 1rem;
|
||||
padding: 0.5rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.search-icon {
|
||||
margin-right: 0.3em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.users .user {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
.user-moderation {
|
||||
padding-top: 0.6em;
|
||||
}
|
||||
|
||||
.basic-user-card {
|
||||
width: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div :label="$t('moderation.users.users')">
|
||||
<div class="content">
|
||||
<div class="reports-header">
|
||||
<div class="users-header">
|
||||
<h2>{{ $t('moderation.users.users') }}</h2>
|
||||
<div class="right-side">
|
||||
<div class="search-input-container">
|
||||
|
@ -169,9 +169,8 @@
|
|||
:key="user.id"
|
||||
class="user"
|
||||
>
|
||||
<BasicUserCard :user="user">
|
||||
<ModerationTools :user="user" />
|
||||
</BasicUserCard>
|
||||
<BasicUserCard :user="user" />
|
||||
<ModerationTools :user="user" class="user-moderation" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -180,7 +179,7 @@
|
|||
v-if="isActive"
|
||||
to="#navigation"
|
||||
>
|
||||
<div class="apply-container">
|
||||
<div class="pagination-container">
|
||||
<button
|
||||
class="btn button-default submit"
|
||||
:disabled="page == 1"
|
||||
|
|
Loading…
Reference in a new issue