Fix giant shadow-cljs logo

This commit is contained in:
heyarne 2022-01-01 12:11:18 +01:00
commit 90af4814fc
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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]