mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
slightly improve style
This commit is contained in:
@ -19,6 +19,13 @@ body {
|
||||
--loading-stroke: 5px;
|
||||
--loading-duration: 1s;
|
||||
position: relative;
|
||||
|
||||
&.aria-busy-grow {
|
||||
// Make sure the element take enough place to hold the loading wheel
|
||||
min-height: calc((var(--loading-size)) * 1.5);
|
||||
min-width: calc((var(--loading-size)) * 1.5);
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
[aria-busy]:after {
|
||||
@ -255,6 +262,13 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A spacer below an element. Somewhat cleaner than putting <br/> everywhere.
|
||||
*/
|
||||
.margin-bottom {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
/*--------------------------------CONTENT------------------------------*/
|
||||
#quick_notif {
|
||||
width: 100%;
|
||||
|
@ -140,7 +140,7 @@
|
||||
nb_page (str): call to a javascript function or variable returning
|
||||
the maximum number of pages to paginate
|
||||
#}
|
||||
<nav class="pagination" x-show="{{ nb_pages }} > 1">
|
||||
<nav class="pagination" x-show="{{ nb_pages }} > 1" x-cloak>
|
||||
{# Adding the prevent here is important, because otherwise,
|
||||
clicking on the pagination buttons could submit the picture management form
|
||||
and reload the page #}
|
||||
|
Reference in New Issue
Block a user