File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 143143 }
144144 }
145145
146+
147+ .button-link {
148+ @apply text-lg text-accent inline-block text-left text-wrap break-all;
149+ }
150+
151+
146152 .backdrop {
147153 @apply absolute inset-0 flex items-center justify-center;
148154 background-color : var (--backdrop );
Original file line number Diff line number Diff line change 129129(defn home []
130130 (let [recent @(rf/subscribe [::document.s/recent ])]
131131 [: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
134134 [:h1.text-4xl.mb-1.font-light
135135 " Repath Studio" ]
136136
140140 [:h2.mb-3.mt-8.text-2xl " Start" ]
141141
142142 [:div
143- [:button.text-lg.text-accent .mr-2
143+ [:button.button-link .mr-2
144144 {:on-click #(rf/dispatch [::document.e/new ])} " New" ]
145145 [ui/shortcuts [::document.e/new ]]]
146146
147147 [:div
148- [:button.text-lg.text-accent .mr-2
148+ [:button.button-link .mr-2
149149 {:on-click #(rf/dispatch [::document.e/open ])}
150150 " Open" ]
151151 [ui/shortcuts [::document.e/open ]]]
156156
157157 (for [file-path (take 2 recent)]
158158 ^{: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]])
162163
163164 [:h2.mb-3.mt-8.text-2xl " Help" ]
164165
165166 [:div
166- [:button.text-lg.text-accent .mr-2
167+ [:button.button-link .mr-2
167168 {:on-click #(rf/dispatch [::dialog.e/cmdk ])}
168169 " Command panel" ]
169170 [ui/shortcuts [::dialog.e/cmdk ]]]
You can’t perform that action at this time.
0 commit comments