fix: modal responsive import model (#3467)
This commit is contained in:
parent
e4115f307b
commit
17653460b5
@ -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,
|
||||
|
||||
@ -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 (
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user