Skip to content

Commit

Permalink
fix(ui5-dialog): provide min-width on desktop (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoplashkov committed Feb 28, 2020
1 parent 9400fe3 commit 05b208d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/main/src/Dialog.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<span class="ui5-popup-frame" @focusin="{{_onfocusin}}">
<span id="{{_id}}-firstfe" tabindex="0"></span>
<div style="{{zindex}}" class="ui5-dialog-root-parent {{classes.dialogParent}}">
<div tabindex="-1" aria-labelledby="{{headerId}}" role="dialog" aria-modal="true" class="ui5-popup-root ui5-dialog-root">
<div tabindex="-1" aria-labelledby="{{headerId}}" role="dialog" aria-modal="true" class="ui5-popup-root ui5-dialog-root {{classes.dialogParent}}">
{{> header}}
<section class="ui5-dialog-section">
<div class="ui5-popup-content">
Expand Down
5 changes: 5 additions & 0 deletions packages/main/src/themes/Dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
display: flex;
flex-direction: column;
overflow: hidden;
min-width: 25rem;
}

.ui5-phone {
min-width: 0;
}

.ui5-dialog-root header,
Expand Down

0 comments on commit 05b208d

Please sign in to comment.