Skip to content

Commit f269cfc

Browse files
committed
chore(*): Make accordion containers scrollable.
1 parent 30e016f commit f269cfc

File tree

9 files changed

+16
-3
lines changed

9 files changed

+16
-3
lines changed

samples/layouts/accordion/customization/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
</style>
3737

38-
<div class="container vertical">
38+
<div class="container vertical scrollable">
3939
<IgbAccordion>
4040
<IgbExpansionPanel>
4141
<h3 slot="title" id="categories">@CategoryTitle</h3>

samples/layouts/accordion/customization/wwwroot/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ https://dl.infragistics.com/x/css//samples/
44
*/
55
.size-small {
66
--ig-size: var(--ig-size-small);
7+
}
8+
9+
.scrollable {
10+
overflow: auto;
711
}

samples/layouts/accordion/customization/wwwroot/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<link href="https://dl.infragistics.com/x/css/samples/shared.v6.css" rel="stylesheet" />
1414
<link href="https://dl.infragistics.com/x/css/samples/blazor.css" rel="stylesheet" />
1515
<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />
16+
<link href="index.css" rel="stylesheet" />
1617
</head>
1718

1819
<body>

samples/layouts/accordion/nested-scenario/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@using IgniteUI.Blazor.Controls
22

33

4-
<div class="container vertical">
4+
<div class="container vertical scrollable">
55
<IgbSwitch Change="OnSwitchChange">Single Expand</IgbSwitch>
66
<IgbAccordion SingleExpand="@SingleExpand">
77
<IgbExpansionPanel>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.scrollable {
2+
overflow: auto;
3+
}

samples/layouts/accordion/nested-scenario/wwwroot/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<link href="https://dl.infragistics.com/x/css/samples/shared.v6.css" rel="stylesheet" />
1414
<link href="https://dl.infragistics.com/x/css/samples/blazor.css" rel="stylesheet" />
1515
<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />
16+
<link href="index.css" rel="stylesheet" />
1617
</head>
1718

1819
<body>

samples/layouts/accordion/overview/App.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@using IgniteUI.Blazor.Controls
22

33

4-
<div class="container vertical">
4+
<div class="container vertical scrollable">
55
<IgbSwitch Change="OnSwitchChange">Single Expand</IgbSwitch>
66
<IgbAccordion SingleExpand="@SingleExpand">
77
<IgbExpansionPanel>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.scrollable {
2+
overflow: auto;
3+
}

samples/layouts/accordion/overview/wwwroot/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<link href="https://dl.infragistics.com/x/css/samples/shared.v6.css" rel="stylesheet" />
1414
<link href="https://dl.infragistics.com/x/css/samples/blazor.css" rel="stylesheet" />
1515
<link href="_content/IgniteUI.Blazor/themes/light/bootstrap.css" rel="stylesheet" />
16+
<link href="index.css" rel="stylesheet" />
1617
</head>
1718

1819
<body>

0 commit comments

Comments
 (0)