Skip to content
Open
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
24 changes: 21 additions & 3 deletions apps/desktop/src/views/settings/configuration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ export const Configuration = () => {

await emit("config_update", await Config.getConfig());
}}
className="w-40 p-1 rounded border bg-zinc-800 text-white outline-none focus:ring-0 cursor-pointer"
className="w-40 p-1 pr-8 rounded border bg-zinc-800 text-white outline-none focus:ring-0 cursor-pointer appearance-none bg-no-repeat"
style={{
backgroundImage:
"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E\")",
backgroundPosition: "right 0.5rem center",
backgroundSize: "12px",
}}
>
<option value="left" className="bg-zinc-800 text-white">
Left
Expand Down Expand Up @@ -106,7 +112,13 @@ export const Configuration = () => {

await emit("config_update", await Config.getConfig());
}}
className="w-40 p-1 rounded border bg-zinc-800 text-white outline-none focus:ring-0 cursor-pointer"
className="w-40 p-1 pr-8 rounded border bg-zinc-800 text-white outline-none focus:ring-0 cursor-pointer appearance-none bg-no-repeat"
style={{
backgroundImage:
"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E\")",
backgroundPosition: "right 0.5rem center",
backgroundSize: "12px",
}}
>
<option value="top" className="bg-zinc-800 text-white">
Top
Expand All @@ -132,7 +144,13 @@ export const Configuration = () => {

await emit("config_update", await Config.getConfig());
}}
className="p-1 rounded border bg-zinc-800 text-white outline-none focus:ring-0 cursor-pointer"
className="p-1 pr-8 rounded border bg-zinc-800 text-white outline-none focus:ring-0 cursor-pointer appearance-none bg-no-repeat"
style={{
backgroundImage:
"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E\")",
backgroundPosition: "right 0.5rem center",
backgroundSize: "12px",
}}
>
<option value="all" className="bg-zinc-800 text-white">
Everything
Expand Down
Loading