Skip to content

Commit c70a7c5

Browse files
Update contributing-to-docs.md
Signed-off-by: Ayush More <ayushmore42595@gmail.com>
1 parent 1bec602 commit c70a7c5

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

content/en/contributing/contributing-to-docs.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -505,20 +505,20 @@ Layer5 docs support tabbed content using the `tabpane` shortcode. Here's a basic
505505
506506
{{< tab name="Example Tab 1" >}}
507507
508-
<div style="width: 100%;">
509-
<pre style="background-color: #2d2d2d; color: #ffffff; padding: 1rem; overflow-x: auto;">
510-
This is the content inside Example Tab 1.
511-
</pre>
508+
<div style="width: 100%; display: flex;">
509+
<div style="flex: 1; background-color: #2d2d2d; color: #ffffff; padding: 1rem; border-radius: 4px; font-family: monospace;">
510+
This is the content inside Example Tab 1.
511+
</div>
512512
</div>
513513
514514
{{< /tab >}}
515515
516516
{{< tab name="Example Tab 2" >}}
517517
518-
<div style="width: 100%;">
519-
<pre style="background-color: #2d2d2d; color: #ffffff; padding: 1rem; overflow-x: auto;">
520-
This is the content inside Example Tab 2.
521-
</pre>
518+
<div style="width: 100%; display: flex;">
519+
<div style="flex: 1; background-color: #2d2d2d; color: #ffffff; padding: 1rem; border-radius: 4px; font-family: monospace;">
520+
This is the content inside Example Tab 2.
521+
</div>
522522
</div>
523523
524524
{{< /tab >}}
@@ -528,6 +528,7 @@ This is the content inside Example Tab 2.
528528
Use this shortcode to display platform-specific commands, language-specific code blocks, or comparisons — all in an elegant, user-friendly tab layout.
529529
530530
531+
531532
### Footnotes
532533
533534
This is a superscript number for your footnote. [^1]

0 commit comments

Comments
 (0)