Skip to content

Commit 3b757f2

Browse files
committed
Make Stuff Better
1 parent b78d931 commit 3b757f2

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

pages/converters/chatchat/deluxechat.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,14 @@ const Home: NextPage = () => {
3838
</div>
3939
<div css={tw`flex flex-col md:flex-row flex-grow flex-shrink h-full max-w-full`}>
4040
<div css={css`
41-
${tw`w-full md:w-1/2 p-4 pt-1 pr-2`}
41+
${tw`w-full md:w-1/2 p-4 pt-1 pr-2 md:max-width[50vw]`}
4242
height: calc(100vh - 15.5em);
43-
max-width: 50vw;
4443
`}>
4544
<TextBox title={"DeluxeChat Config"} code={config} editor={setConfig} language={"yaml"}/>
4645
</div>
4746
<div css={css`
48-
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col`}
47+
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col md:max-width[50vw]`}
4948
height: calc(100vh - 15.5em);
50-
max-width: 50vw;
5149
`}>
5250
{
5351
error || !parsedConfig ? (<div css={tw`flex flex-col h-full w-full pt-1`}>

pages/converters/chatchat/essentialschat.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ const Home: NextPage = () => {
5252
</div>
5353
<div css={tw`flex flex-col md:flex-row flex-grow flex-shrink h-full max-w-full`}>
5454
<div css={css`
55-
${tw`w-full md:w-1/2 p-4 pt-1 pr-2`}
55+
${tw`w-full md:w-1/2 p-4 pt-1 pr-2 md:max-width[50vw]`}
5656
height: calc(100vh - 15.5em);
57-
max-width: 50vw;
5857
`}>
5958
<div css={tw`h-1/2`}>
6059
<TextBox title={"EssentialsChat Config"} code={config} editor={setConfig} language={"yaml"}/>
@@ -64,9 +63,8 @@ const Home: NextPage = () => {
6463
</div>
6564
</div>
6665
<div css={css`
67-
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col`}
66+
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col md:max-width[50vw]`}
6867
height: calc(100vh - 15.5em);
69-
max-width: 50vw;
7068
`}>
7169
{
7270
error || !parsedConfig ? (<div css={tw`flex flex-col h-full w-full pt-1`}>

pages/converters/chatchat/venturechat.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,14 @@ const Home: NextPage = () => {
3838
</div>
3939
<div css={tw`flex flex-col md:flex-row flex-grow flex-shrink h-full max-w-full`}>
4040
<div css={css`
41-
${tw`w-full md:w-1/2 p-4 pt-1 pr-2`}
41+
${tw`w-full md:w-1/2 p-4 pt-1 pr-2 md:max-width[50vw]`}
4242
height: calc(100vh - 15.5em);
43-
max-width: 50vw;
4443
`}>
4544
<TextBox title={"VentureChat Config"} code={config} editor={setConfig} language={"yaml"}/>
4645
</div>
4746
<div css={css`
48-
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col`}
47+
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col md:max-width[50vw]`}
4948
height: calc(100vh - 15.55em);
50-
max-width: 50vw;
5149
`}>
5250
{
5351
error || !parsedConfig ? (<div css={tw`flex flex-col h-full w-full pt-1`}>

pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function Home() {
88
<meta name="description" content="HelpChat Tools"/>
99
</Head>
1010

11-
<main css={css`${tw`flex flex-col`} height: calc(100vh - 2.75rem)`}>
11+
<main css={css`${tw`flex flex-col`} height: calc(100vh - 3.5rem)`}>
1212
<div css={tw`text-white bg-blue-500 w-full md:px-8 p-16 h-48 text-center`}>
1313
<p css={tw`text-3xl font-bold`}>HelpChat</p>
1414
<p css={tw`text-lg`}>Home</p>

pages/validators/yaml.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,20 +61,20 @@ const Home: NextPage = () => {
6161
<div css={tw`flex flex-col md:flex-row flex-grow flex-shrink h-full`}>
6262
<div css={css`
6363
height: calc(100vh - 15.5em);
64-
${tw`md:w-1/2 p-4 pt-1 pr-2`}
64+
${tw`md:w-1/2 p-4 pt-1 pr-2 md:max-width[50vw]`}
6565
`}>
6666
<TextBox title={"Yaml Config"} code={config} editor={setConfig} language={"yaml"}/>
6767
</div>
6868
<div css={css`
6969
height: calc(100vh - 15.5em);
70-
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col`}
70+
${tw`w-full md:w-1/2 p-4 pl-2 pt-1 flex flex-col md:max-width[50vw]`}
7171
`}>
7272
<div css={tw`flex flex-col h-full w-full pt-1`}>
7373
<div css={tw`flex flex-row pl-2`}>
7474
<p css={tw`text-xl font-semibold mx-auto mb-2`}>Json Object Dump</p>
7575
</div>
7676
<div css={css`${tw`rounded-md overflow-auto h-full`} background-color: #2a2734`}>
77-
<div css={tw` py-2 px-4`}>
77+
<div css={tw`py-2 px-4 text-base`}>
7878
{!(error || !parsedConfig) ? <ReactJson src={parsedConfig} theme={{
7979
base00: duotoneDark.plain.backgroundColor ?? "",
8080
base01: duotoneDark.styles[2].style.color ?? "",

0 commit comments

Comments
 (0)