Improve styles

This commit is contained in:
Arnaud 2024-11-05 12:05:25 +01:00
parent 994c68903c
commit a63caca49d
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
5 changed files with 6 additions and 4 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.34", "version": "0.0.35",
"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.34", "version": "0.0.35",
"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.34", "version": "0.0.35",
"type": "module", "type": "module",
"scripts": { "scripts": {
"prepack": "npm run build", "prepack": "npm run build",

View File

@ -5,6 +5,7 @@
&.button--small { &.button--small {
--codex-button-padding: 6px 10px; --codex-button-padding: 6px 10px;
height: 40px;
} }
border-radius: 8px; border-radius: 8px;

View File

@ -47,7 +47,7 @@ export function Select({
}: Props) { }: Props) {
return ( return (
<div className={"select " + className}> <div className={"select " + className}>
<label htmlFor={id}>{label}</label> {label && <label htmlFor={id}>{label}</label>}
<select <select
id={id} id={id}
onChange={onChange} onChange={onChange}

View File

@ -23,6 +23,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 1.25em 1.25em; background-size: 1.25em 1.25em;
box-sizing: border-box; box-sizing: border-box;
height: 40px;
@media (min-width: 801px) { @media (min-width: 801px) {
& { & {