Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: modal responsive import model #3467

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion electron/managers/mainWindowConfig.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const DEFAULT_MIN_WIDTH = 400
const DEFAULT_MIN_HEIGHT = 300
const DEFAULT_MIN_HEIGHT = 600

export const mainWindowConfig: Electron.BrowserWindowConstructorOptions = {
skipTaskbar: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ModelDownloadList = () => {
return (
<div className="flex h-[500px] flex-1 flex-col">
<h1 className="mb-3 font-semibold">Available Versions</h1>
<ScrollArea className="w-full md:flex-1">
<ScrollArea className="w-full lg:flex-1">
{ggufModels.map((model, index) => {
if (!model.downloadUrl) return null
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ModelSegmentInfo = () => {
</div>

<HeaderInfo title="Tags">
<div className="mt-2 flex flex-wrap gap-x-1 gap-y-1">
<div className="mt-2 flex h-14 flex-wrap gap-x-1 gap-y-1 overflow-auto lg:h-auto">
{importingHuggingFaceRepoData.tags.map((tag) => (
<Badge variant="soft" key={tag} title={tag} className="mt-1">
<span className="line-clamp-1">{tag}</span>
Expand Down
Loading