File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
src/Elastic.Markdown/Assets/markdown Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,32 @@ A table is an arrangement of data with rows and columns. Each row consists of ce
42
42
:::
43
43
44
44
45
+ ## Table without header
46
+
47
+ ::::{tab-set}
48
+
49
+ :::{tab-item} Output
50
+ | | |
51
+ |-------------------|---------|
52
+ | **Country** | Austria |
53
+ | **Capital** | Vienna |
54
+ | **Calling code** | +43 |
55
+ | **ISO 3166 code** | AT |
56
+ :::
57
+
58
+ :::{tab-item} Markdown
59
+ ```markdown
60
+ | | |
61
+ |-------------------|---------|
62
+ | **Country** | Austria |
63
+ | **Capital** | Vienna |
64
+ | **Calling code** | +43 |
65
+ | **ISO 3166 code** | AT |
66
+ ```
67
+ :::
68
+
69
+ ::::
70
+
45
71
## Responsive Table
46
72
47
73
Every table is responsive by default. The table will automatically scroll horizontally when the content is wider than the viewport.
Original file line number Diff line number Diff line change 3
3
4
4
.table-wrapper {
5
5
6
- @apply w-full overflow-x-scroll my-4;
6
+ @apply w-full overflow-x-auto my-4;
7
7
8
8
& ::-webkit-scrollbar {
9
9
@apply h-2 bg-grey-10 border-b-1 border-grey-20;
10
10
}
11
+
11
12
& ::-webkit-scrollbar-thumb {
12
13
@apply bg-grey-80 rounded-full;
13
14
}
You can’t perform that action at this time.
0 commit comments