Skip to content

Commit

Permalink
fix(protocol-designer): various UI changes to increase usability and …
Browse files Browse the repository at this point in the history
…center modals (#11754)

closes RQA-366 RQA-398 RQA-397 RQA-367
  • Loading branch information
jerader authored Nov 17, 2022
1 parent ec89cc4 commit 8427b42
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
3 changes: 2 additions & 1 deletion components/src/modals/modals.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@
margin: 0 auto;
padding: 1rem;
border-radius: 0.5rem;
position: relative;
}
}

.modal {
@apply --modal;

align-items: flex-start;
position: fixed;
z-index: 1;
padding: 4rem;
}
Expand Down
11 changes: 10 additions & 1 deletion protocol-designer/src/components/FilePage.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,20 @@
justify-content: center;
}

.edit_button,
.swap_button {
display: block;
margin: 0 0.5rem;
width: 8rem;

&:focus {
background-color: transparent;
}
}

.edit_button {
display: block;
margin: 0 0.5rem;
width: 8rem;
}

.update_button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ const EditModulesModalComponent = (
)}
<Form>
<div className={styles.form_row}>
<FormGroup label="Model*" className={styles.option_model}>
<FormGroup label="Model" className={styles.option_model}>
<ModelDropdown
fieldName={'selectedModel'}
tabIndex={0}
Expand Down
4 changes: 4 additions & 0 deletions protocol-designer/src/components/modules/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
display: inline-block;
width: 6.75rem;
margin-left: 1rem;

&:focus {
background-color: transparent;
}
}

.crash_info_container {
Expand Down

0 comments on commit 8427b42

Please sign in to comment.