How can I modify the size of table cell in react semantic ui ? I am using functional component named as updatesPage but the CSS is not working why so ?
code:
import { Icon, Label, Menu, Table } from 'semantic-ui-react';
const UpdatesPage = () => (
<Table celled>
<Table.Header>
<Table.Row>
<Table.HeaderCell>Header</Table.HeaderCell>
<Table.HeaderCell>Header</Table.HeaderCell>
<Table.HeaderCell>Header</Table.HeaderCell>
</Table.Row>
</Table.Header>
<Table.Body>
<Table.Row>
<Table.Cell>Cell</Table.Cell>
<Table.Cell>Cell</Table.Cell>
<Table.Cell>Cell</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>Cell</Table.Cell>
<Table.Cell>Cell</Table.Cell>
<Table.Cell>Cell</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>Cell</Table.Cell>
<Table.Cell>Cell</Table.Cell>
<Table.Cell>Cell</Table.Cell>
</Table.Row>
</Table.Body>
</Table>
)
export default UpdatesPage;
CSS :
.ui.table thead th {
width: 30px;
}
.ui.table tbody td {
width: 30px;
}
CSS is not working why so ? Am I selecting the wrong css selectors see screenshot.
