Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisjofrank committed Nov 10, 2024
1 parent 1bd3fe6 commit 55a95ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ jobs:
project: "code-editor"
entrypoint: "./server/main.ts"
root: ""


3 changes: 2 additions & 1 deletion client/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ textarea {
border: 0;
padding: 1.6rem;
font-size: 14pt;
background-color: rgba(255,255,255,0.6);
background-color: rgba(255, 255, 255, 0.6);
color: #272822;
}

.url {
padding: 1rem 1.6rem;
font-size: 14pt;
background-color: #a6e22e;
color: #272822;
a {
text-decoration: none;
color: #272822;
Expand Down
8 changes: 5 additions & 3 deletions client/src/components/DeploymentViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ export default function DeploymentViewer(props: Props) {
return (
<div className="console">
<div className="url">
{showPreview ? <a href={url}>{url}</a> : "Deployment URL"}
{showPreview ? <a href={url}>{url}</a> : "Deployment URL"}
</div>
{showPreview ? <iframe src={url} title="sandbox" className="sandbox" /> : <p className="sandbox">{status}</p>}
{showPreview
? <iframe src={url} title="sandbox" className="sandbox" />
: <p className="sandbox">{status}</p>}
</div>
)
);
}
3 changes: 1 addition & 2 deletions client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ button {
font-weight: bold;
background-color: #66d9ef;
color: #181815;
box-shadow: 0px 5px 5px 1px rgba(0,0,0,0.75);
box-shadow: 0px 5px 5px 1px rgba(0, 0, 0, 0.75);
}

button:hover {
background-color: #49e2ff;
box-shadow: none;
transform: translateY(2px);
}

0 comments on commit 55a95ed

Please sign in to comment.