diff --git a/samples/inputs/checkbox/label/src/CheckboxLabelStyles.css b/samples/inputs/checkbox/label/src/CheckboxLabelStyles.css index 7429d5436d..21bf881ab2 100644 --- a/samples/inputs/checkbox/label/src/CheckboxLabelStyles.css +++ b/samples/inputs/checkbox/label/src/CheckboxLabelStyles.css @@ -1,4 +1,5 @@ .wrapper { display: flex; align-items: center; + gap: 0.5rem; } \ No newline at end of file diff --git a/samples/inputs/checkbox/label/src/index.tsx b/samples/inputs/checkbox/label/src/index.tsx index 1662d02b09..bb155f3d0b 100644 --- a/samples/inputs/checkbox/label/src/index.tsx +++ b/samples/inputs/checkbox/label/src/index.tsx @@ -14,6 +14,7 @@ export default class CheckboxLabel extends React.Component { public render(): JSX.Element { return (
+ Label
Label diff --git a/samples/inputs/radio/label/src/RadioLabelStyles.css b/samples/inputs/radio/label/src/RadioLabelStyles.css new file mode 100644 index 0000000000..21bf881ab2 --- /dev/null +++ b/samples/inputs/radio/label/src/RadioLabelStyles.css @@ -0,0 +1,5 @@ +.wrapper { + display: flex; + align-items: center; + gap: 0.5rem; +} \ No newline at end of file diff --git a/samples/inputs/radio/label/src/index.tsx b/samples/inputs/radio/label/src/index.tsx index 9fddfe2556..aad11aae18 100644 --- a/samples/inputs/radio/label/src/index.tsx +++ b/samples/inputs/radio/label/src/index.tsx @@ -1,6 +1,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; +import './RadioLabelStyles.css'; import { IgrRadio, IgrRadioGroup } from 'igniteui-react'; import 'igniteui-webcomponents/themes/light/bootstrap.css'; @@ -16,8 +17,8 @@ export default class RadioLabel extends React.Component {
Apple -
- Label +
+ Orange - Label + Label +
+ Label +
); }