Fix admin modal accessibility

This commit is contained in:
Chocobozzz 2024-09-26 15:48:15 +02:00
parent 78659b1820
commit e637f3e426
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 9 additions and 14 deletions

View File

@ -10,20 +10,20 @@
<div class="block-documentation">
<div class="columns">
<a class="link-block" href="https://docs.joinpeertube.org/maintain/tools" target="_blank" rel="noopener noreferrer">
<a i18n class="link-title" href="https://docs.joinpeertube.org/maintain/tools" target="_blank" rel="noopener noreferrer">CLI documentation</a>
<a class="link-block" href="https://docs.joinpeertube.org/maintain/tools" target="_blank" i18n-title title="Go to the CLI documentation">
<h5 i18n class="underline-orange">CLI documentation</h5>
<div i18n>Upload or import videos, parse logs, prune storage directories, reset user password...</div>
</a>
<a class="link-block" href="https://docs.joinpeertube.org/admin/following-instances" target="_blank" rel="noopener noreferrer">
<a i18n class="link-title" href="https://docs.joinpeertube.org/admin/following-instances" target="_blank" rel="noopener noreferrer">Administer documentation</a>
<a class="link-block" href="https://docs.joinpeertube.org/admin/following-instances" target="_blank" i18n-title title="Go to the admin documentation">
<h5 i18n class="underline-orange">Admin documentation</h5>
<div i18n>Managing users, following other instances, dealing with spammers...</div>
</a>
<a class="link-block" href="https://docs.joinpeertube.org/use/setup-account" target="_blank" rel="noopener noreferrer">
<a i18n class="link-title" href="https://docs.joinpeertube.org/use/setup-account" target="_blank" rel="noopener noreferrer">Use documentation</a>
<a class="link-block" href="https://docs.joinpeertube.org/use/setup-account" target="_blank" i18n-title title="Go to the user documentation">
<h5 i18n class="underline-orange">User documentation</h5>
<div i18n>Setup your account, managing video playlists, discover third-party applications...</div>
</a>

View File

@ -50,6 +50,7 @@ li {
padding: 10px;
transition: background-color 0.2s ease-in;
flex-basis: 33%;
text-align: center;
@include disable-default-a-behaviour;
@ -57,15 +58,9 @@ li {
background-color: rgba(0, 0, 0, 0.05);
}
.link-title {
> h5 {
font-weight: $font-semibold;
display: flex;
justify-content: center;
font-size: 1rem;
margin-bottom: 5px;
}
.link-title,
div {
text-align: center;
}
}