commit 0050a89d4935ccaf50f3e9aaf786054e371c3d52
parent 26bffad64a841c017e90bdb579fc12fccfee1ad0
Author: Adriel Dumas--Jondeau <leirda@disroot.org>
Date: Wed, 19 Jun 2024 22:50:04 +0200
Réduis la notation des propriétés `flex'
Diffstat:
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/css/duper.css b/css/duper.css
@@ -106,9 +106,7 @@ article {
max-width: var(--article-width);
width: calc(100% - var(--page-padding));
margin: auto;
- flex-grow: 1;
- flex-shrink: 1;
- flex-basis: auto;
+ flex: 1 1 auto;
}
pre {
@@ -124,9 +122,7 @@ pre {
footer {
font-size: small;
text-align: center;
- flex-grow: 0;
- flex-shrink: 1;
- flex-basis: auto;
+ flex: 0 1 auto;
}
img {