Skip to content

Commit

Permalink
remove min width on roam settings input elements (#261)
Browse files Browse the repository at this point in the history
* remove min width on roam settings input elements

* 1.30.1
  • Loading branch information
mdroidian authored May 19, 2024
1 parent 40608d0 commit 327b369
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "query-builder",
"version": "1.30.0",
"version": "1.30.1",
"description": "Introduces new user interfaces for building queries in Roam",
"main": "./build/main.js",
"author": {
Expand Down
7 changes: 4 additions & 3 deletions src/components/DefaultFilters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ const Filter = ({
))}
</ul>
</div>
<div className="justify-between items-center flex gap-1">
<div className="justify-end items-center flex gap-1">
<InputGroup
style={{ minWidth: "initial" }}
value={newFilter}
onChange={(e) => setNewFilter(e.target.value)}
/>
Expand Down Expand Up @@ -135,7 +136,6 @@ const DefaultFilters = (extensionAPI: OnloadArgs["extensionAPI"]) => () => {
return (
<div
style={{
width: "100%",
minWidth: 256,
}}
>
Expand Down Expand Up @@ -166,8 +166,9 @@ const DefaultFilters = (extensionAPI: OnloadArgs["extensionAPI"]) => () => {
}}
/>
))}
<div className="flex justify-between items-center gap-2">
<div className="flex justify-end items-center gap-2">
<InputGroup
style={{ minWidth: "initial" }}
value={newColumn}
onChange={(e) => setNewColumn(e.target.value)}
/>
Expand Down
6 changes: 5 additions & 1 deletion src/components/QueryPagesPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ const QueryPagesPanel = (extensionAPI: OnloadArgs["extensionAPI"]) => () => {
}}
>
<div className={"flex gap-2"}>
<InputGroup value={value} onChange={(e) => setValue(e.target.value)} />
<InputGroup
style={{ minWidth: "initial" }}
value={value}
onChange={(e) => setValue(e.target.value)}
/>
<Button
icon={"plus"}
minimal
Expand Down

0 comments on commit 327b369

Please sign in to comment.