Fix tag in upload

This commit is contained in:
Arnaud 2024-11-06 21:05:35 +01:00
parent ef4b0810cc
commit 001d008a27
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
4 changed files with 6 additions and 6 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@codex-storage/marketplace-ui-components", "name": "@codex-storage/marketplace-ui-components",
"version": "0.0.39", "version": "0.0.40",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@codex-storage/marketplace-ui-components", "name": "@codex-storage/marketplace-ui-components",
"version": "0.0.39", "version": "0.0.40",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"lucide-react": "^0.453.0" "lucide-react": "^0.453.0"

View File

@ -5,7 +5,7 @@
"type": "git", "type": "git",
"url": "https://github.com/codex-storage/codex-marketplace-ui-components" "url": "https://github.com/codex-storage/codex-marketplace-ui-components"
}, },
"version": "0.0.39", "version": "0.0.40",
"type": "module", "type": "module",
"scripts": { "scripts": {
"prepack": "npm run build", "prepack": "npm run build",

View File

@ -33,7 +33,7 @@
border-radius: var(--codex-border-radius); border-radius: var(--codex-border-radius);
} }
p { .preview {
flex-grow: 1; flex-grow: 1;
margin: 0; margin: 0;

View File

@ -281,7 +281,7 @@ export function UploadFile({
) : ( ) : (
<WebFileIcon type={file.type} /> <WebFileIcon type={file.type} />
)} )}
<p> <div className="preview">
<b> <b>
<span>{filename}</span> <span>{filename}</span>
{extension && <span>.{extension}</span>} {extension && <span>.{extension}</span>}
@ -289,7 +289,7 @@ export function UploadFile({
<div> <div>
<small>{PrettyBytes(file.size)}</small> <small>{PrettyBytes(file.size)}</small>
</div> </div>
</p> </div>
</div> </div>
<div> <div>
<UploadStatusIcon status={status} /> <UploadStatusIcon status={status} />