Skip to content

Commit efb3ab7

Browse files
committed
disabled add child props tab and repositioned props inputs and button
1 parent 6f14d53 commit efb3ab7

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/components/bottom/BottomTabs.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,11 @@ class BottomTabs extends Component<BottomTabsPropsInt, StateInt> {
184184
htmlAttribCount ? `(${htmlAttribCount})` : ''
185185
} `}
186186
/>
187-
<Tab
187+
{/* <Tab
188188
disableRipple
189189
classes={{ root: classes.tabRoot, selected: classes.tabSelected }}
190190
label='Add Child Props'
191-
/>
191+
/> */}
192192
</Tabs>
193193

194194
{value === 0 && (
@@ -242,7 +242,7 @@ class BottomTabs extends Component<BottomTabsPropsInt, StateInt> {
242242
{value === 3 && focusChild.childType !== 'HTML' && (
243243
<p>Please select an HTML element to view attributes</p>
244244
)}
245-
{value === 4 && <AddChildProps />}
245+
{/* {value === 4 && <AddChildProps />} */}
246246
</div>
247247
);
248248
}

src/components/bottom/DataTable.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const styles = (theme: Theme) => ({
4242
padding: '3px',
4343
borderRadius: '7px',
4444
border: 'none',
45+
align: 'center',
4546
'&:hover': {
4647
transform: 'scale(1.1)',
4748
color: '#fff'
@@ -105,7 +106,7 @@ function dataTable(props: dataTableProps) {
105106
// for some reason we must put each value in a div.
106107
return rowHeader.map((header: string, idx: number) => (
107108
<TableCell align={'center'} key={`td_${idx}`}>
108-
<div className={classes.tableCell} align={'center'} padding={'none'}>
109+
<div className={classes.tableCell} padding={'none'}>
109110
{row[header]}
110111
</div>
111112
</TableCell>
@@ -136,7 +137,7 @@ function dataTable(props: dataTableProps) {
136137
return (
137138
<Paper className={classes.root}>
138139
<div className={classes.tableContainer}>
139-
<Table className={classes.table} selectable={'true'}>
140+
<Table className={classes.table}>
140141
<TableHead>
141142
<TableRow>{renderHeader}</TableRow>
142143
</TableHead>

src/components/bottom/Props.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ const styles = () => ({
5858
propHeader: {
5959
fontSize: '35px',
6060
fontWeight: '900',
61-
marginLeft: '1rem',
61+
marginLeft: '2%',
6262
paddingTop: '10px'
6363
},
6464
dataTableHeader: {
6565
fontSize: '35px',
6666
fontWeight: '900',
67-
marginLeft: '22rem',
67+
marginLeft: '20%',
6868
marginTop: '15px',
6969
paddingTop: '10px'
7070
},
@@ -114,7 +114,7 @@ const styles = () => ({
114114
},
115115
addProp: {
116116
width: '15rem',
117-
marginLeft: '3rem',
117+
marginLeft: '45%',
118118
height: '4rem',
119119
transition: 'all 0.1s ease-out',
120120
border: '2px solid #33eb91',

0 commit comments

Comments
 (0)