Skip to content

Commit

Permalink
fix dialog layout
Browse files Browse the repository at this point in the history
  • Loading branch information
tborychowski committed Jul 20, 2023
1 parent cb43d8d commit 3e33762
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/ui.css

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/dialog/Dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@
}

.dialog-content {
display: flex;
flex-flow: row;
margin: 0;
gap: 1rem;

padding: 1rem;
min-width: 200px;
flex: 1;
Expand Down
9 changes: 8 additions & 1 deletion src/message-box/MessageBox.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
.message-box .dialog-content { font-size: 1.1rem; padding: 1rem; }
.message-box .dialog-content {
display: flex;
flex-flow: row;
gap: 1rem;

font-size: 1.1rem;
padding: 1rem;
}

.message-box .dialog-content .message { max-width: 50vw; display: flex; align-items: center; }
.message-box .dialog-content .message-content { margin: 0; line-height: 1.5; }
Expand Down

0 comments on commit 3e33762

Please sign in to comment.