Fix giant shadow-cljs logo
This commit is contained in:
parent
5c2f429d2e
commit
90af4814fc
2 changed files with 2 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ body {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
svg.visualization {
|
||||||
display: block;
|
display: block;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@
|
||||||
sorted (map-indexed vector (pack-rects-naive frame rects))]
|
sorted (map-indexed vector (pack-rects-naive frame rects))]
|
||||||
[:main
|
[:main
|
||||||
[:h1 "Visualization"]
|
[:h1 "Visualization"]
|
||||||
[:svg {:viewBox "-1 -1 501 501" :xmlns "http://www.w3.org/2000/svg"}
|
[:svg.visualization {:viewBox "-0.5 -0.5 501 501" :xmlns "http://www.w3.org/2000/svg"}
|
||||||
[:rect {:width (geom/width frame)
|
[:rect {:width (geom/width frame)
|
||||||
:height (geom/height frame)}]
|
:height (geom/height frame)}]
|
||||||
(for [[idx rect] sorted]
|
(for [[idx rect] sorted]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue