~mdw
/
tgal
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
152ba8e
)
static/tgal.css: Use flex layout for folder galleries.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 23 Dec 2021 21:59:36 +0000
(21:59 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 25 Dec 2021 16:09:18 +0000
(16:09 +0000)
Space the elements evenly in each row. Alas, it's hard to arrange for
lines to be broken so that each row has about the same number of items,
so that's a project for later.
static/tgal.css
patch
|
blob
|
blame
|
history
diff --git
a/static/tgal.css
b/static/tgal.css
index
251541f
..
ca027f4
100644
(file)
--- a/
static/tgal.css
+++ b/
static/tgal.css
@@
-76,8
+76,8
@@
div.footitem {
}
div.gallery {
- display:
block
;
-
text-align: center
;
+ display:
flex; flex-direction: row; flex-wrap: wrap
;
+
align-items: start; justify-content: space-evenly
;
}
figure.thumb {