Skip to content

Commit

Permalink
fix(atlas-core): hide on tablet and phone also based on profile, not …
Browse files Browse the repository at this point in the history
…only screen size
  • Loading branch information
r0b1n authored and undefined committed Oct 29, 2024
1 parent d5b08a9 commit bf3d608
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/atlas-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- We fixed an issue with "Hide on tablet" and "Hide on phone" design properties not working correctly on some devices.

## [3.14.5] Atlas Core - 2024-10-2

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion packages/atlas-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "atlas-core",
"moduleName": "Atlas Core",
"version": "3.14.5",
"version": "3.14.6",
"license": "Apache-2.0",
"copyright": "© Mendix Technology BV 2024. All rights reserved.",
"repository": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,12 +195,18 @@
display: none #{$important-helpers-value};
}
}
.profile-phone .hide-phone {
display: none #{$important-helpers-value};
}

@media (min-width: $screen-md) and (max-width: $screen-md-max) {
.hide-tablet {
display: none #{$important-helpers-value};
}
}
.profile-tablet .hide-tablet {
display: none #{$important-helpers-value};
}

@media (min-width: $screen-lg) {
.hide-desktop {
Expand Down

0 comments on commit bf3d608

Please sign in to comment.