Skip to content

Commit fcf51d3

Browse files
philippamarkovicspirp
authored andcommitted
πŸƒ Upgrade to Tailwind 2
* whitespace-no-wrap->whitespace-nowrap * Merge branch 'master' of github.com:nextjournal/nextjournal into tailwind2 Co-authored-by: pirp <[email protected]> Co-authored-by: pirp <[email protected]>
1 parent f46688e commit fcf51d3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

β€Ždemo/src/nextjournal/clojure_mode/demo.cljs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,14 +143,14 @@
143143
(map (fn [[command [{:keys [key shift doc]} & [{alternate-key :key}]]]]
144144
[:<>
145145
[:tr.border-t.hover:bg-gray-100
146-
[:td.px-3.py-1.align-top.monospace.whitespace-no-wrap [:b (name command)]]
147-
[:td.px-3.py-1.align-top.text-right.text-sm.whitespace-no-wrap (render-key key)]
148-
[:td.px-3.py-1.align-top.text-right.text-sm.whitespace-no-wrap (some-> alternate-key render-key)]
146+
[:td.px-3.py-1.align-top.monospace.whitespace-nowrap [:b (name command)]]
147+
[:td.px-3.py-1.align-top.text-right.text-sm.whitespace-nowrap (render-key key)]
148+
[:td.px-3.py-1.align-top.text-right.text-sm.whitespace-nowrap (some-> alternate-key render-key)]
149149
[:td.px-3.py-1.align-top doc]]
150150
(when shift
151151
[:tr.border-t.hover:bg-gray-100
152152
[:td.px-3.py-1.align-top [:b (name shift)]]
153-
[:td.px-3.py-1.align-top.text-sm.whitespace-no-wrap.text-right
153+
[:td.px-3.py-1.align-top.text-sm.whitespace-nowrap.text-right
154154
(render-key (str "Shift-" key))]
155155
[:td.px-3.py-1.align-top.text-sm]
156156
[:td.px-3.py-1.align-top]])]))))])

β€Žpublic/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,16 @@ <h3 class="text-center sans-serif font-bold text-lg mt-0 mb-1">Try evaluating an
102102
<tbody>
103103
<tr class="align-top">
104104
<td class="py-1">forward</td>
105-
<td class="py-1 text-right whitespace-no-wrap">
105+
<td class="py-1 text-right whitespace-nowrap">
106106
<span class="kbd ctrl">Ctrl</span> + <span class="kbd">←</span> / <span class="kbd">β†’</span>
107107
</td>
108-
<td class="py-1 text-right whitespace-no-wrap">
108+
<td class="py-1 text-right whitespace-nowrap">
109109
<span class="mx-1">or</span> <span class="kbd mod">Mod</span> + <span class="kbd">⇧</span> + <span class="kbd">j</span> / <span class="kbd">k</span>
110110
</td>
111111
</tr>
112112
<tr class="border-t">
113113
<td class="py-1 pr-12">backward</td>
114-
<td class="py-1 text-right whitespace-no-wrap">
114+
<td class="py-1 text-right whitespace-nowrap">
115115
<span class="kbd ctrl">Ctrl</span> + <span class="kbd alt">Alt</span> + <span class="kbd">←</span> / <span class="kbd">β†’</span>
116116
</td>
117117
<td></td>
@@ -128,10 +128,10 @@ <h3 class="text-center sans-serif font-bold text-lg mt-0 mb-1">Try evaluating an
128128
<tbody>
129129
<tr>
130130
<td class="py-1">Expand / Contract</td>
131-
<td class="py-1 text-right whitespace-no-wrap">
131+
<td class="py-1 text-right whitespace-nowrap">
132132
<span class="kbd alt">Alt</span> + <span class="kbd">↑</span> / <span class="kbd">↓</span>
133133
</td>
134-
<td class="py-1 text-right whitespace-no-wrap">
134+
<td class="py-1 text-right whitespace-nowrap">
135135
<span class="mx-1">or</span> <span class="kbd mod">Mod</span> + <span class="kbd">1</span> / <span class="kbd">2</span>
136136
</td>
137137
</tr>

0 commit comments

Comments
Β (0)