Skip to content

Commit

Permalink
fix(ui): polish git commit modal
Browse files Browse the repository at this point in the history
  • Loading branch information
xyhp915 committed Dec 4, 2024
1 parent 9513185 commit e7b8401
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/frontend/components/commit.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,12 @@

[:<>
[:div.sm:flex.sm:items-start
[:div.mt-3.text-center.sm:mt-0.sm:text-left.mb-2
[:div.mt-3.text-center.sm:mt-0.sm:text-left.mb-2.w-full
(if (nil? @*git-status)
[:div "Loading..."]
[:div.flex.w-full.flex-col
[:h2.text-xl "You have uncommitted changes: "]
[:pre.max-h-96.overflow-y-auto.bg-gray-02
{:class "md:max-w-[700px]"}
(prettify-git-status @*git-status)]])
[:h3#modal-headline.text-lg.leading-6.font-medium
"Your commit message:"]]]
Expand Down

0 comments on commit e7b8401

Please sign in to comment.