Skip to content

Commit

Permalink
chore: fix app for ARM64 architecture (#2442)
Browse files Browse the repository at this point in the history
* chore: fix app for ARM64 architecture

* fix: correct css selectors

* fix: adjust css nesting

* chore: fix auto-formatting

* fix: adjust css selector nesting
  • Loading branch information
HendrikThePendric authored Feb 16, 2023
1 parent a14584e commit e3842eb
Show file tree
Hide file tree
Showing 4 changed files with 337 additions and 448 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"loglevel": "^1.4.0",
"moment": "^2.16.0",
"node-fetch": "^1.6.3",
"node-pre-gyp": "^0.6.30",
"node-sass": "^4.13.1",
"node-pre-gyp": "^0.17.0",
"node-sass": "npm:sass@^1.58.0",
"precommit-hook": "^3.0.0",
"prettier": "^1.13.7",
"recompose": "^0.23.1",
Expand Down
30 changes: 13 additions & 17 deletions scss/EditModel/EditDataEntryForm.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.paletteContainer {
position: fixed;
right: 16px;
Expand Down Expand Up @@ -115,24 +114,21 @@
}
}

.item {
&.active {
a {
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
}
&.inactive {
a {
color: inherit;
opacity: 0.5;
cursor: default;
.item.active,
.expand {
a {
cursor: pointer;

&:hover {
text-decoration: underline;
}
}
}

.expand {
@extend .item.active;
.item.inactive {
a {
color: inherit;
opacity: 0.5;
cursor: default;
}
}
29 changes: 13 additions & 16 deletions scss/EditModel/EditDataEntryFormProgramStage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,25 +109,22 @@
}
}

.item {
&.active {
a {
cursor: pointer;
&:hover {
text-decoration: underline;
}
}
}
&.inactive {
a {
color: inherit;
opacity: 0.5;
cursor: default;
.item.active,
.expand {
a {
cursor: pointer;

&:hover {
text-decoration: underline;
}
}
}

.expand {
@extend .item.active;
.item.inactive {
a {
color: inherit;
opacity: 0.5;
cursor: default;
}
}
}
Loading

0 comments on commit e3842eb

Please sign in to comment.