-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(feat) Anchor workspace actions to the bottom of the screen in tablet mode #1650
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,7 +77,7 @@ const PatientChart: React.FC = () => { | |
</> | ||
)} | ||
</div> | ||
<ActionMenu open={false} /> | ||
<ActionMenu open={active} /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm a little confused on the logic here? The action menu is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ibacher It seems I may have misinterpreted the original idea. The intention is to conceal the action menu on tablet devices when a workspace form is open, allowing for increased working space on smaller tablets. I will do a follow on PR to address it. |
||
</> | ||
</main> | ||
); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,8 +66,11 @@ | |
} | ||
|
||
.tablet { | ||
padding: 1.5rem 1rem; | ||
padding: 1rem 1rem; | ||
background-color: $ui-02; | ||
position: fixed; | ||
bottom: 0rem; | ||
width: 100%; | ||
} | ||
|
||
.desktop { | ||
|
@@ -93,7 +96,7 @@ | |
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
height: var(--desktop-workspace-window-height); | ||
// height: var(--desktop-workspace-window-height); | ||
Comment on lines
-96
to
+99
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we fix this, since this has been merged? |
||
} | ||
|
||
.grid { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,5 +52,8 @@ | |
.buttonSet { | ||
padding: 1.5rem 1rem; | ||
background-color: $ui-02; | ||
position: fixed; | ||
bottom: 0rem; | ||
width: 100%; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would've been nice to keep the newline here...