diff --git a/samples/inputs/button-group/overview/wwwroot/index.css b/samples/inputs/button-group/overview/wwwroot/index.css
index ba9fa9f23..28e680c29 100644
--- a/samples/inputs/button-group/overview/wwwroot/index.css
+++ b/samples/inputs/button-group/overview/wwwroot/index.css
@@ -1,39 +1,36 @@
-.container.sample {
- display: flex;
- flex-direction: column;
- align-items: center;
+.states-container {
+ display: grid;
+ place-items: center;
+ height: 100vh;
}
-igc-button-group {
- display: block;
- width: 280px;
- max-width: 100%;
-}
-
-igc-ripple {
- --color: gray;
+.sample-layout {
+ display: grid;
+ width: 17.5rem;
+ gap: 0.5rem;
}
-.album {
- margin-top: 8px;
- width: 280px;
- max-width: 100%;
+igc-button-group {
+ max-width: 17.5rem;
}
.album-title {
- display: inline-block;
- margin-bottom: 8px;
- color: #1f89d4;
+ font-size: 0.875rem;
+ font-weight: 400;
+ line-height: 1.429;
+ letter-spacing: 0.0178571em;
+ margin-block: 0 0.5rem;
+ color: var(--ig-primary-500);
}
.album-photos {
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- gap: 4px;
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 0.25rem;
}
.album-photos img {
- width: 100%;
- object-fit: cover;
- display: block;
+ width: 100%;
+ object-fit: cover;
+ display: block;
}
\ No newline at end of file
diff --git a/samples/inputs/button-group/selection/App.razor b/samples/inputs/button-group/selection/App.razor
index 0ad30e107..53d62f39e 100644
--- a/samples/inputs/button-group/selection/App.razor
+++ b/samples/inputs/button-group/selection/App.razor
@@ -2,60 +2,24 @@
+
@foreach (var selection in modes)
{
-
- @(selection == ButtonGroupSelection.SingleRequired ? "Single-Required" : selection.ToString())
+ @(selection == ButtonGroupSelection.SingleRequired ? "Single-Required" : selection.ToString())
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
}
diff --git a/samples/inputs/button-group/selection/wwwroot/index.css b/samples/inputs/button-group/selection/wwwroot/index.css
index ee6fdfb0f..352a14cc3 100644
--- a/samples/inputs/button-group/selection/wwwroot/index.css
+++ b/samples/inputs/button-group/selection/wwwroot/index.css
@@ -1,39 +1,46 @@
-/*
-CSS styles are loaded from the shared CSS file located at:
-https://dl.infragistics.com/x/css//samples/
-*/
+.states-container {
+ container-type: inline-size;
+ display: grid;
+ grid-template-columns: minmax(0, 1fr);
+ align-content: center;
+ height: 100vh;
+}
.selection-samples {
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: flex-start;
- gap: 28px;
- padding-left: 32px;
+ display: grid;
+ grid-template-columns: auto minmax(11.25rem, 1fr);
+ align-items: center;
+ gap: 1.5rem 2rem;
+ inline-size: 100%;
+ max-inline-size: 23.75rem;
+ margin-inline: auto;
}
-.selection-sample {
- display: flex;
- align-items: center;
- gap: 30px;
+.sample-label {
+ color: var(--ig-gray-600);
+ font-family: "Aktiv Grotesk", sans-serif;
+ font-size: 13px;
+ font-weight: 400;
+ line-height: 20px;
+ letter-spacing: 0.3px;
+ text-align: end;
}
-.selection-sample > span {
- width: 120px;
- text-align: right;
- color: #556c86;
- font-family: "Aktiv Grotesk", sans-serif;
- font-size: 13px;
- font-weight: 400;
- font-style: normal;
- line-height: 20px;
- letter-spacing: 0.3px;
+igc-button-group {
+ inline-size: 100%;
}
-.selection-sample igc-button-group {
- width: 200px;
-}
+@container not (width >= 22rem) {
+ .selection-samples {
+ grid-template-columns: minmax(0, 1fr);
+ gap: 0.25rem;
+ }
+
+ .sample-label {
+ text-align: start;
+ }
-igc-ripple {
- --color: gray;
+ .sample-label:not(:first-of-type) {
+ margin-block-start: 1rem;
+ }
}
\ No newline at end of file
diff --git a/samples/inputs/button-group/size/App.razor b/samples/inputs/button-group/size/App.razor
index 930e37368..20e1c1ebc 100644
--- a/samples/inputs/button-group/size/App.razor
+++ b/samples/inputs/button-group/size/App.razor
@@ -2,26 +2,28 @@
-