aboutsummaryrefslogtreecommitdiff
path: root/src/components/voerBord.tsx
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-01-07 11:14:49 +0100
committerlonkaars <l.leblansch@gmail.com>2021-01-07 11:14:49 +0100
commit450b5a10d804a592ed1d2504df262831ed3cb9b0 (patch)
tree77c56a318a57dd596b83a234eebd3f133aa03f2a /src/components/voerBord.tsx
parent41b8ba275b88a3f5c7fe105604b3f09e9bfa8c55 (diff)
tbody toegevoegd aan voerBord
Diffstat (limited to 'src/components/voerBord.tsx')
-rw-r--r--src/components/voerBord.tsx52
1 files changed, 27 insertions, 25 deletions
diff --git a/src/components/voerBord.tsx b/src/components/voerBord.tsx
index c430d02..3e319a1 100644
--- a/src/components/voerBord.tsx
+++ b/src/components/voerBord.tsx
@@ -8,30 +8,32 @@ export function VoerBord(props: VoerBordProps) {
borderSpacing: 8,
width: "100%"
}}>
- {
- [...Array(props.height)].map(() => (
- <tr>
- {[...Array(props.width)].map(() => (
- <td style={{
- position: "relative",
- width: "100%",
- padding: 0
- }}>
- <div style={{
- display: "block",
- marginTop: "100%"
- }}/>
- <div style={{
- position: "absolute",
- top: 0, left: 0, right: 0, bottom: 0,
- borderRadius: 6,
- border: "2px solid var(--background-alt)",
- opacity: .5
- }}/>
- </td>
- ))}
- </tr>
- ))
- }
+ <tbody>
+ {
+ [...Array(props.height)].map(() => (
+ <tr>
+ {[...Array(props.width)].map(() => (
+ <td style={{
+ position: "relative",
+ width: "100%",
+ padding: 0
+ }}>
+ <div style={{
+ display: "block",
+ marginTop: "100%"
+ }}/>
+ <div style={{
+ position: "absolute",
+ top: 0, left: 0, right: 0, bottom: 0,
+ borderRadius: 6,
+ border: "2px solid var(--background-alt)",
+ opacity: .5
+ }}/>
+ </td>
+ ))}
+ </tr>
+ ))
+ }
+ </tbody>
</table>
}