Skip to content

Commit 1bec602

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

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,13 +505,21 @@ Layer5 docs support tabbed content using the `tabpane` shortcode. Here's a basic
505505
506506
{{< tab name="Example Tab 1" >}}
507507
508-
<div class="highlight"><pre><code>This is the content inside Example Tab 1.</code></pre></div>
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>
512+
</div>
509513
510514
{{< /tab >}}
511515
512516
{{< tab name="Example Tab 2" >}}
513517
514-
<div class="highlight"><pre><code>This is the content inside Example Tab 2.</code></pre></div>
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>
522+
</div>
515523
516524
{{< /tab >}}
517525

0 commit comments

Comments
 (0)