feat: change the style of tables

This commit is contained in:
shiweisong.ssw 2023-06-28 15:16:48 +08:00
parent 75ef3d1d4f
commit 8aa44ea4a9
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ const ChunkList = () => {
}, []) }, [])
return ( return (
<div className="p-4"> <div className="p-4">
<Table sx={{ '& thead th:nth-child(1)': { width: '40%' } }}> <Table color="neutral" stripe="odd" variant="outlined">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>

View File

@ -91,7 +91,7 @@ const Documents = () => {
+ Add Datasource + Add Datasource
</Button> </Button>
</Sheet> </Sheet>
<Table sx={{ '& thead th:nth-child(1)': { width: '40%' } }}> <Table color="neutral" stripe="odd" variant="outlined">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>

View File

@ -91,7 +91,7 @@ const Index = () => {
</Button> </Button>
</Sheet> </Sheet>
<div className="page-body p-4"> <div className="page-body p-4">
<Table sx={{ '& thead th:nth-child(1)': { width: '40%' } }}> <Table color="neutral" stripe="odd" variant="outlined">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>