Skip to content

Commit 85e61d3

Browse files
ptgottgithub-actions
authored and
github-actions
committed
Align cells across feature matrix tables
Make it easier for a user to follow a single column across multiple tables of the feature matrix. Since the style sets cells to 25% width, which assumes a table that is four cells wide, use a `style` tag so the style only applies to the tables in the `teleport-editions.mdx` guide. Closes gravitational/docs-website#134
1 parent f6d13f3 commit 85e61d3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/pages/teleport-editions.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ below.
2525
For information on how Teleport calculates billing metrics for product usage,
2626
see [Usage and Billing](./usage-billing.mdx).
2727

28+
{/*Since the feature matrix includes multiple tables, set a fixed cell width to
29+
ensure that all tables are aligned.*/}
30+
<style dangerouslySetInnerHTML={{__html: `
31+
table {
32+
table-layout: fixed;
33+
}
34+
35+
table td {
36+
width: 25%;
37+
}`}}
38+
/>
39+
2840
## Teleport Zero Trust Access
2941

3042
Teleport Zero Trust Access provides engineers with least-privileged access to

0 commit comments

Comments
 (0)