Skip to content

Commit 0bad5a1

Browse files
author
Aqib Mirza
committed
fix: button width issue in non-webkit browser
1 parent e4d9f22 commit 0bad5a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/comps/comps/buttonComp/buttonCompConstants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function getButtonStyle(buttonStyle: ButtonStyleType) {
4747

4848
export const Button100 = styled(Button)<{ $buttonStyle?: ButtonStyleType }>`
4949
${(props) => props.$buttonStyle && getButtonStyle(props.$buttonStyle)}
50-
width: -webkit-fill-available;
50+
width: 100%;
5151
height: auto;
5252
display: inline-flex;
5353
justify-content: center;

0 commit comments

Comments
 (0)