File tree Expand file tree Collapse file tree 5 files changed +10
-16
lines changed Expand file tree Collapse file tree 5 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -38,16 +38,14 @@ const Home: NextPage = () => {
38
38
</ div >
39
39
< div css = { tw `flex flex-col md:flex-row flex-grow flex-shrink h-full max-w-full` } >
40
40
< 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] ` }
42
42
height: calc(100vh - 15.5em);
43
- max-width: 50vw;
44
43
` } >
45
44
< TextBox title = { "DeluxeChat Config" } code = { config } editor = { setConfig } language = { "yaml" } />
46
45
</ div >
47
46
< 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] ` }
49
48
height: calc(100vh - 15.5em);
50
- max-width: 50vw;
51
49
` } >
52
50
{
53
51
error || ! parsedConfig ? ( < div css = { tw `flex flex-col h-full w-full pt-1` } >
Original file line number Diff line number Diff line change @@ -52,9 +52,8 @@ const Home: NextPage = () => {
52
52
</ div >
53
53
< div css = { tw `flex flex-col md:flex-row flex-grow flex-shrink h-full max-w-full` } >
54
54
< 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] ` }
56
56
height: calc(100vh - 15.5em);
57
- max-width: 50vw;
58
57
` } >
59
58
< div css = { tw `h-1/2` } >
60
59
< TextBox title = { "EssentialsChat Config" } code = { config } editor = { setConfig } language = { "yaml" } />
@@ -64,9 +63,8 @@ const Home: NextPage = () => {
64
63
</ div >
65
64
</ div >
66
65
< 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] ` }
68
67
height: calc(100vh - 15.5em);
69
- max-width: 50vw;
70
68
` } >
71
69
{
72
70
error || ! parsedConfig ? ( < div css = { tw `flex flex-col h-full w-full pt-1` } >
Original file line number Diff line number Diff line change @@ -38,16 +38,14 @@ const Home: NextPage = () => {
38
38
</ div >
39
39
< div css = { tw `flex flex-col md:flex-row flex-grow flex-shrink h-full max-w-full` } >
40
40
< 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] ` }
42
42
height: calc(100vh - 15.5em);
43
- max-width: 50vw;
44
43
` } >
45
44
< TextBox title = { "VentureChat Config" } code = { config } editor = { setConfig } language = { "yaml" } />
46
45
</ div >
47
46
< 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] ` }
49
48
height: calc(100vh - 15.55em);
50
- max-width: 50vw;
51
49
` } >
52
50
{
53
51
error || ! parsedConfig ? ( < div css = { tw `flex flex-col h-full w-full pt-1` } >
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function Home() {
8
8
< meta name = "description" content = "HelpChat Tools" />
9
9
</ Head >
10
10
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 )` } >
12
12
< div css = { tw `text-white bg-blue-500 w-full md:px-8 p-16 h-48 text-center` } >
13
13
< p css = { tw `text-3xl font-bold` } > HelpChat</ p >
14
14
< p css = { tw `text-lg` } > Home</ p >
Original file line number Diff line number Diff line change @@ -61,20 +61,20 @@ const Home: NextPage = () => {
61
61
< div css = { tw `flex flex- col md: flex- row flex- grow flex- shrink h- full` } >
62
62
< div css = { css `
63
63
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] ` }
65
65
` } >
66
66
< TextBox title = { "Yaml Config" } code = { config } editor = { setConfig } language = { "yaml" } />
67
67
</ div >
68
68
< div css = { css `
69
69
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] ` }
71
71
` } >
72
72
< div css = { tw `flex flex- col h- full w- full pt-1` } >
73
73
< div css = { tw `flex flex- row pl-2` } >
74
74
< p css = { tw `text- xl font- semibold mx- auto mb-2` } > Json Object Dump</ p >
75
75
</ div >
76
76
< 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 ` } >
78
78
{ ! ( error || ! parsedConfig ) ? < ReactJson src = { parsedConfig } theme = { {
79
79
base00 : duotoneDark . plain . backgroundColor ?? "" ,
80
80
base01 : duotoneDark . styles [ 2 ] . style . color ?? "" ,
You can’t perform that action at this time.
0 commit comments