Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix styling on settings page #24

Merged
merged 1 commit into from
Nov 8, 2023
Merged
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
3 changes: 2 additions & 1 deletion apps/terminal/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ const Page = () => {
paddingBottom: config.terminalBorderWidth,
paddingLeft: config.terminalBorderWidth,
paddingRight: config.terminalBorderWidth,
backgroundColor: config.colorScheme.background,
backgroundColor:
tabId === 0 ? undefined : config.colorScheme.background,
}}
>
<div className="flex-1 relative overflow-hidden">
Expand Down
2 changes: 1 addition & 1 deletion apps/terminal/components/SettingsPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const SettingsPage = () => {
}, []);

return (
<div className="flex-1 w-full h-full relative flex flex-col items-center gap-4 px-4">
<div className="flex-1 w-full h-full relative flex flex-col items-center gap-4 p-4">
<img src="/logo.png" alt="Terminal One" className="w-48 h-48" />
<div className="text-2xl font-bold mb-4">TerminalOne v{appVersion}</div>
<div className="form-control w-full max-w-lg">
Expand Down
1 change: 1 addition & 0 deletions apps/terminal/components/Terminal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ const Terminal = ({
});

// make backend pty size consistent with xterm on the frontend
fitAddon.fit();
window.TerminalOne?.terminal?.resizeTerminal(
terminalId,
xterm.cols,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@terminalone/monorepo",
"productName": "Terminal One",
"version": "1.0.1",
"version": "1.0.2",
"description": "A fast, elegant and intelligent cross-platform terminal.",
"author": "atinylittleshell <[email protected]>",
"license": "MIT",
Expand Down