Skip to content

Commit a184883

Browse files
authored
Frontend fix issues and improvments (#154)
* fix the frontend issues and improvements * black color * remove * resolve the css issues * delete the uncessary files and use the variant
1 parent 1dfcb86 commit a184883

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

app/components/Output/Output.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const SchemaError = ({ schemaPath }: { schemaPath: string }) => {
6767
<b>Details:</b> {errorDetails}
6868
</div>
6969
<div style={{ marginTop: "10px" }}>
70-
<div>Possible Fixes:</div>
70+
<b>Possible Fixes:</b>
7171
<UnorderedList>
7272
{possibleFixes.map((fix, index) => (
7373
<ListItem key={index}>{fix}</ListItem>

app/styles/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ html {
7474

7575
main {
7676
height: 100%;
77-
}
77+
}

app/styles/theme.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const Button = {
1717
},
1818
success: {
1919
color: "hsl(var(--success))",
20-
2120
borderColor: "hsl(var(--success))",
2221
borderWidth: "1px",
2322
_disabled: {
@@ -26,6 +25,9 @@ const Button = {
2625
_hover: {
2726
bg: "hsl(var(--success))",
2827
color: "black",
28+
"& svg path": {
29+
fill: "black",
30+
},
2931
_disabled: {
3032
color: "hsl(var(--success) / 0.4)",
3133
},

content/02-Primitive-Types/09-Combining-Types/instructions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Let's add a new property `hasAgreedToTerms` to the JSON object. This property sh
2020

2121
### Boolean
2222

23-
A `boolean` type can have two values: `true` or `false`. you can define a boolean type as follows:
23+
A `boolean` type can have two values: `true` or `false`. You can define a boolean type as follows:
2424

2525
```json
2626
{

0 commit comments

Comments
 (0)