File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 3
3
{:nextjournal.clerk/visibility {:code :hide :result :hide }
4
4
:nextjournal.clerk/no-cache true }
5
5
(:require [nextjournal.clerk :as clerk]
6
- [nextjournal.clerk.tap :as tap ]
7
- [nextjournal.clerk.window :as window ]))
6
+ [nextjournal.clerk.window :as window ]
7
+ [nextjournal.clerk.tap :as tap ]))
8
8
9
- (clerk/window! :my-window (clerk/html [:div.w-8.h-8.bg-green-500 ]))
9
+ #_ (clerk/window! :my-window (clerk/html [:div.w-8.h-8.bg-green-500 ]))
10
10
11
- (comment
12
- (clerk/destroy-window! :my-window )
13
- (clerk/destroy-all-windows! )
14
- (clerk/window! ::window/taps )
15
- (tap> (clerk/html [:div.w-8.h-8.bg-green-500 ]))
16
- (tap> (clerk/plotly {:data [{:x [1 2 3 4 ]}]}))
17
- (tap/reset-taps! ))
11
+ #_ (comment
12
+ (clerk/destroy-window! :my-window )
13
+ (clerk/destroy-all-windows! )
14
+ (clerk/window! ::window/taps )
15
+ (tap> (clerk/html [:div.w-8.h-8.bg-green-500 ]))
16
+ (tap> (clerk/plotly {:data [{:x [1 2 3 4 ]}]}))
17
+ (tap/reset-taps! ))
Original file line number Diff line number Diff line change 15
15
(into [:div.flex.items-center ]
16
16
(map (fn [choice]
17
17
[:button.transition-all.mr-2.relative
18
- {:class (str " h-[24px] border-b-2 "
18
+ {:class (str " h-[24px] "
19
19
(if (= taps-view choice)
20
- " text-indigo-600 border-indigo-600 font-bold "
21
- " text-slate-500 border-transparent hover:text-indigo-600 " ))
20
+ " text-indigo-600 font-bold "
21
+ " text-slate-500 hover:text-indigo-600 " ))
22
22
:on-click #(nextjournal.clerk.render/clerk-eval `(set-view! ~choice))}
23
- [ :span.relative { :class " -bottom-[2px] " } (clojure.string/capitalize (name choice))] ])
23
+ (clojure.string/capitalize (name choice))])
24
24
[:stream :latest ]))
25
25
[:button.text-slate-500.hover:text-indigo-600
26
26
{:on-click #(nextjournal.clerk.render/clerk-eval `(tap/reset-taps!))}
You can’t perform that action at this time.
0 commit comments