Skip to content

Commit 76c6e0f

Browse files
authored
Merge pull request #90 from brionmario/next
chore(react): fix alignment issues in the components
2 parents 0ca9d2d + b23868f commit 76c6e0f

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.changeset/mean-donkeys-double.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@asgardeo/react': patch
3+
---
4+
5+
Fix alignment issues in the components

packages/react/src/components/presentation/SignIn/BaseSignIn.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ const useStyles = () => {
295295
() => ({
296296
card: {
297297
gap: `calc(${theme.vars.spacing.unit} * 2)`,
298+
minWidth: '420px',
298299
} as CSSProperties,
299300
header: {
300301
gap: 0,

packages/react/src/components/presentation/SignUp/BaseSignUp.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ const useStyles = () => {
132132
() => ({
133133
card: {
134134
gap: `calc(${theme.vars.spacing.unit} * 2)`,
135+
minWidth: '420px',
135136
} as CSSProperties,
136137
header: {
137138
gap: 0,

packages/react/src/components/primitives/FormControl/FormControl.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ const FormControl: FC<FormControlProps> = ({
6464
const {theme} = useTheme();
6565

6666
const containerStyle: CSSProperties = {
67+
textAlign: 'left',
6768
marginBottom: `calc(${theme.vars.spacing.unit} * 2)`,
6869
...style,
6970
};

0 commit comments

Comments
 (0)