Skip to content

Commit 3404c4e

Browse files
authored
[WC-3148] Fix radio button distortion (#285)
2 parents e55c9ca + 2c3906d commit 3404c4e

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

packages/atlas-core/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- We fixed an issue with radio buttons being distorted in some cases.
12+
913
## [4.3.0] Atlas Core - 2025-10-10
1014

1115
### Breaking change

packages/atlas-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "atlas-core",
33
"moduleName": "Atlas Core",
4-
"version": "4.3.0",
4+
"version": "4.3.1",
55
"license": "Apache-2.0",
66
"copyright": "© Mendix Technology BV 2024. All rights reserved.",
77
"repository": {

packages/atlas/src/themesource/atlas_core/web/core/_legacy/_mxui.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,14 +2352,8 @@ Main class hierarchy:
23522352
display: inline-block;
23532353
}
23542354

2355-
.mx-radiobuttons.inline .radio {
2356-
display: inline-block;
2357-
margin-right: 20px;
2358-
}
2359-
23602355
.mx-radiobuttons .radio input[type="radio"] {
23612356
/* Reset bootstrap rules */
2362-
position: static;
23632357
margin-right: 8px;
23642358
margin-left: 0;
23652359
}

packages/atlas/src/themesource/atlas_core/web/core/widgets/_radio-button.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@
2525
}
2626

2727
.radio {
28-
display: flex !important; // Remove after mxui merge
28+
display: flex;
2929
align-items: center;
3030
margin-top: 0;
3131
}
3232

3333
input[type="radio"] {
34-
position: relative !important; // Remove after mxui merge
34+
position: relative !important;
3535
width: 16px;
36+
flex: 0 0 16px;
3637
height: 16px;
3738
margin: 0;
3839
cursor: pointer;

0 commit comments

Comments
 (0)