Skip to content

Commit 2493dc7

Browse files
authored
Merge pull request #299 from aaron1604/fix--button-width-issue
fix: button width issue in non-webkit browser
2 parents 8ad4436 + c532736 commit 2493dc7

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)