Skip to content

Commit 6c26b30

Browse files
yordan-stiobuhov
andauthored
refactor: cleanup bloated styles (#269)
Co-authored-by: Illia Obukhau <[email protected]>
1 parent 0f78ea9 commit 6c26b30

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

packages/atlas-core/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1313
### Fixed
1414

1515
- We fixed an issue with sidebar menu not overlaying some elements in modern client.
16+
- We fixed an issue where sr-only input checkbox still showed up in switch widget.
1617

1718
## [4.1.3] Atlas Core - 2025-7-28
1819

packages/atlas/src/themesource/atlas_core/web/core/widgets/_switch.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,15 @@ $default-ios-color: rgb(100, 189, 99);
148148
}
149149
}
150150

151+
.widget-switch input[type="checkbox"].sr-only {
152+
position: absolute!important;
153+
width: 1px;
154+
height: 1px;
155+
padding: 0;
156+
margin: -1px!important;
157+
overflow: hidden;
158+
}
159+
151160
@include style("primary", var(--brand-primary));
152161
@include style("secondary", var(--brand-default));
153162
@include style("success", var(--brand-success));

0 commit comments

Comments
 (0)