mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-29 17:56:19 +00:00
fix: ac-problems-list styles
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0d5f22cc06
commit
eaa9f8f12f
@ -128,7 +128,7 @@
|
|||||||
<h4 class="card-title h5">
|
<h4 class="card-title h5">
|
||||||
<?= UOJLocale::get('accepted problems').': '.UOJLocale::get('n problems in total', count($ac_problems))?>
|
<?= UOJLocale::get('accepted problems').': '.UOJLocale::get('n problems in total', count($ac_problems))?>
|
||||||
</h4>
|
</h4>
|
||||||
<ul class="nav">
|
<ul class="nav uoj-ac-problems-list">
|
||||||
<?php foreach ($ac_problems as $problem): ?>
|
<?php foreach ($ac_problems as $problem): ?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="/problem/<?= $problem['problem_id'] ?>" role="button">
|
<a class="nav-link" href="/problem/<?= $problem['problem_id'] ?>" role="button">
|
||||||
|
@ -213,3 +213,23 @@ form.uoj-form-compressed button {
|
|||||||
top: -6px;
|
top: -6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
.uoj-ac-problems-list li {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
.uoj-ac-problems-list li {
|
||||||
|
width: 18em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.uoj-ac-problems-list {
|
||||||
|
padding-top: 10px;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.uoj-ac-problems-list a {
|
||||||
|
min-height: 60px;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user