Collapse quarter-hour details by default
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,7 @@
|
|||||||
(defn- hour-block [hour quarters]
|
(defn- hour-block [hour quarters]
|
||||||
(let [sorted (sort-by #(.getMinute (->ldt (:time_dk %))) quarters)
|
(let [sorted (sort-by #(.getMinute (->ldt (:time_dk %))) quarters)
|
||||||
avg (avg-ore quarters)]
|
avg (avg-ore quarters)]
|
||||||
[:details {:class "border-2 border-blue-400 rounded-lg mb-2" :open true}
|
[:details {:class "border-2 border-blue-400 rounded-lg mb-2"}
|
||||||
[:summary {:class "flex justify-between py-2 px-3 cursor-pointer hover:bg-gray-50
|
[:summary {:class "flex justify-between py-2 px-3 cursor-pointer hover:bg-gray-50
|
||||||
font-medium text-gray-900"}
|
font-medium text-gray-900"}
|
||||||
[:span (format "%02d:00" hour)]
|
[:span (format "%02d:00" hour)]
|
||||||
|
|||||||
Reference in New Issue
Block a user