Skip to content

Commit b765e67

Browse files
gtsiolisroboquat
authored andcommitted
Update dotfiles layout
1 parent 20ae141 commit b765e67

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

components/dashboard/src/settings/Preferences.tsx

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -123,24 +123,27 @@ export default function Preferences() {
123123
</PillLabel>
124124
</h3>
125125
<p className="text-base text-gray-500 dark:text-gray-400">Customize workspaces using dotfiles.</p>
126-
<div className="mt-4 max-w-md">
126+
<div className="mt-4 max-w-xl">
127127
<h4>Repository URL</h4>
128-
<input
129-
type="text"
130-
value={dotfileRepo}
131-
className="w-full"
132-
placeholder="e.g. https://github.com/username/dotfiles"
133-
onChange={(e) => setDotfileRepo(e.target.value)}
134-
/>
128+
<span className="flex">
129+
<input
130+
type="text"
131+
value={dotfileRepo}
132+
className="w-96 h-9"
133+
placeholder="e.g. https://github.com/username/dotfiles"
134+
onChange={(e) => setDotfileRepo(e.target.value)}
135+
/>
136+
<button className="secondary ml-2" onClick={() => actuallySetDotfileRepo(dotfileRepo)}>
137+
Save Changes
138+
</button>
139+
</span>
135140
<div className="mt-1">
136141
<p className="text-gray-500 dark:text-gray-400">
137-
Add a repository URL that includes dotfiles. Gitpod will clone and install your dotfiles for
138-
every new workspace.
142+
Add a repository URL that includes dotfiles. Gitpod will
143+
<br />
144+
clone and install your dotfiles for every new workspace.
139145
</p>
140146
</div>
141-
<div className="mt-4 max-w-md">
142-
<button onClick={() => actuallySetDotfileRepo(dotfileRepo)}>Save Changes</button>
143-
</div>
144147
</div>
145148
</PageWithSubMenu>
146149
</div>

0 commit comments

Comments
 (0)