Skip to content
Open
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 app/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ function RenderedTreeNode({
return <GooeyTextarea props={props} state={state} />;
}
case "input": {
const className = `gui-input gui-input-${props.type}`;
const className = `gui-input gui-input-${props.type} ${props.className ?? ""}`;
const id = inputId(props);
switch (props.type) {
case "range":
Expand Down
8 changes: 6 additions & 2 deletions app/styles/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,10 @@ div[id^="react-select-"][id$="-listbox"] {
margin: 0 1rem;
}

.gui-input-number input {
padding: 0.5rem;
.gui-input-smaller input {
width: 5rem;
}

.gui-input-smaller label {
display: none;
}