Skip to content

Commit 4769816

Browse files
committed
Fix TimeInput table
1 parent a3d16d7 commit 4769816

1 file changed

Lines changed: 24 additions & 11 deletions

File tree

docs/TimeInput.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,30 @@ title: "The TimeInput Component"
77

88
An input for editing time. `<TimeInput>` renders a standard browser [Time Picker](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time), so the appearance depends on the browser.
99

10-
| Firefox | Edge |
11-
| ------- | ---- |
12-
| <video controls autoplay muted loop>
13-
<source src="./img/time-input-firefox.webm" type="video/webm"/>
14-
Your browser does not support the video tag.
15-
</video>
16-
| <video controls autoplay muted loop>
17-
<source src="./img/time-input-edge.webm" type="video/webm"/>
18-
Your browser does not support the video tag.
19-
</video>
20-
|
10+
<table>
11+
<thead>
12+
<tr>
13+
<th>Firefox</th>
14+
<th>Edge</th>
15+
</tr>
16+
</thead>
17+
<tbody>
18+
<tr>
19+
<td>
20+
<video controls autoplay muted loop>
21+
<source src="./img/time-input-firefox.webm" type="video/webm"/>
22+
Your browser does not support the video tag.
23+
</video>
24+
</td>
25+
<td>
26+
<video controls autoplay muted loop>
27+
<source src="./img/time-input-edge.webm" type="video/webm"/>
28+
Your browser does not support the video tag.
29+
</video>
30+
</td>
31+
</tr>
32+
</tbody>
33+
</table>
2134

2235
This component works with Date objects to handle the timezone using the browser locale.
2336
You can still pass string values as long as those can be converted to a JavaScript Date object.

0 commit comments

Comments
 (0)