File tree 2 files changed +15
-8
lines changed
2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 143
143
}
144
144
}
145
145
146
+
147
+ .button-link {
148
+ @apply text-lg text-accent inline-block text-left text-wrap break-all;
149
+ }
150
+
151
+
146
152
.backdrop {
147
153
@apply absolute inset-0 flex items-center justify-center;
148
154
background-color : var (--backdrop );
Original file line number Diff line number Diff line change 129
129
(defn home []
130
130
(let [recent @(rf/subscribe [::document.s/recent ])]
131
131
[:div.flex.overflow-auto.flex-1.min-h-full.justify-center.px-4
132
- [:div.bg-primary.w-full.self-center.justify-between.p-12.flex.max-w-screen-xl
133
- [:div
132
+ [:div.bg-primary.w-full.self-center.justify-between.p-6.lg:p- 12.flex.max-w-screen-xl
133
+ [:div.overflow-hidden
134
134
[:h1.text-4xl.mb-1.font-light
135
135
" Repath Studio" ]
136
136
140
140
[:h2.mb-3.mt-8.text-2xl " Start" ]
141
141
142
142
[:div
143
- [:button.text-lg.text-accent .mr-2
143
+ [:button.button-link .mr-2
144
144
{:on-click #(rf/dispatch [::document.e/new ])} " New" ]
145
145
[ui/shortcuts [::document.e/new ]]]
146
146
147
147
[:div
148
- [:button.text-lg.text-accent .mr-2
148
+ [:button.button-link .mr-2
149
149
{:on-click #(rf/dispatch [::document.e/open ])}
150
150
" Open" ]
151
151
[ui/shortcuts [::document.e/open ]]]
156
156
157
157
(for [file-path (take 2 recent)]
158
158
^{:key file-path}
159
- [:button.text-lg.text-accent.block
160
- {:on-click #(rf/dispatch [::document.e/open file-path])}
161
- file-path])
159
+ [:div
160
+ [:button.button-link
161
+ {:on-click #(rf/dispatch [::document.e/open file-path])}
162
+ file-path]])
162
163
163
164
[:h2.mb-3.mt-8.text-2xl " Help" ]
164
165
165
166
[:div
166
- [:button.text-lg.text-accent .mr-2
167
+ [:button.button-link .mr-2
167
168
{:on-click #(rf/dispatch [::dialog.e/cmdk ])}
168
169
" Command panel" ]
169
170
[ui/shortcuts [::dialog.e/cmdk ]]]
You can’t perform that action at this time.
0 commit comments