Skip to content

Commit cd45f51

Browse files
committed
CSS fix
1 parent c72b5c4 commit cd45f51

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

assets/css/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ input[type="radio"] {
774774
}
775775

776776
.generic-tabs .tab-content {
777-
@apply hidden p-6 bg-white border border-t-0 border-redis-pen-300 rounded-b-md shadow-sm;
777+
@apply hidden px-6 pb-6 pt-3 bg-white border border-t-0 border-redis-pen-300 rounded-b-md shadow-sm;
778778
}
779779

780780
.generic-tabs .tab-content.active {

content/develop/multitabs-demo.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This page tests a simpler approach to multi-tab syntax that works reliably with
1313
{{< multitabs id="example-tabs" tab1="Getting Started" tab2="Features" tab3="Usage Guide" >}}
1414
Welcome to the **Getting Started** tab! This demonstrates the simpler multi-tab syntax.
1515

16-
### Quick Setup
16+
**Quick Setup**
1717
1. Include the tab component files
1818
2. Use the `multitabs` shortcode with tab parameters
1919
3. Separate content with a divider: `- tab - sep -
@@ -22,7 +22,7 @@ This approach avoids Hugo's nested shortcode parsing issues while still providin
2222

2323
-tab-sep-
2424

25-
## Key Features
25+
**Key Features**
2626

2727
The tab control includes:
2828

@@ -32,7 +32,7 @@ The tab control includes:
3232
- **Markdown support**: Full markdown rendering within tabs
3333
- **Simple syntax**: Uses parameter-based tab titles and content separators
3434

35-
### Code Example
35+
**Code Example**
3636
```javascript
3737
// Example of tab initialization
3838
document.addEventListener('DOMContentLoaded', () => {
@@ -43,7 +43,7 @@ document.addEventListener('DOMContentLoaded', () => {
4343

4444
-tab-sep-
4545

46-
## How to Use
46+
**How to Use**
4747

4848
The multi-tab syntax uses parameters for tab titles and separates content with triple dashes.
4949

@@ -52,7 +52,7 @@ The multi-tab syntax uses parameters for tab titles and separates content with t
5252
2. Separate content sections with `---` on its own line
5353
3. Each section becomes the content for the corresponding tab
5454

55-
### Benefits
55+
**Benefits**
5656
- **Reliable parsing**: No nested shortcode issues
5757
- **Clean syntax**: Easy to read and write
5858
- **Flexible content**: Any markdown content works

0 commit comments

Comments
 (0)