Skip to content

Commit

Permalink
fix: set min width for modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Dec 29, 2022
1 parent 1cee6f4 commit 74bc7c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/components/commit.cljs
Expand Up @@ -29,7 +29,7 @@
:on-enter (fn []
(commit-and-push!)))))
[state _close-fn]
[:div.w-full.mx-auto.sm:max-w-lg.sm:w-96 {:style {:padding "48px 0"}}
[:div.w-full.mx-auto {:style {:padding "48px 0"}}
[:div.sm:flex.sm:items-start
[:div.mt-3.text-center.sm:mt-0.sm:text-left.mb-2
[:h3#modal-headline.text-lg.leading-6.font-medium
Expand Down
5 changes: 5 additions & 0 deletions src/main/frontend/ui.css
Expand Up @@ -116,6 +116,7 @@
max-height: 85vh;
padding: 2rem;
width: auto;
min-width: 600px;

.ls-card,
.ls-search {
Expand All @@ -130,6 +131,10 @@
width: var(--ls-main-content-max-width);
}
}

@screen md {
min-width: 720px;
}
}
}

Expand Down

0 comments on commit 74bc7c6

Please sign in to comment.