Skip to content

Commit 0bfc5cf

Browse files
authored
Merge pull request #3773 from berbad/fix-powerbox-url-display-dev
Fix #3699: powerbox dialog: allow long URLs to wrap instead of truncating
2 parents 6210826 + a95a72f commit 0bfc5cf

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

shell/client/styles/_powerbox.scss

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ body>.popup.request>.frame-container>.frame {
6464
display: block;
6565
vertical-align: middle;
6666
width: 100%;
67-
height: 32px;
68-
line-height: 32px;
67+
min-height: 32px;
68+
line-height: 1.4;
6969
background-size: 24px 24px;
7070
background-position: 4px 4px;
7171
background-repeat: no-repeat;
72-
padding-left: 32px;
72+
padding: 4px 4px 4px 32px;
73+
word-break: break-all;
74+
overflow-wrap: break-word;
7375
}
7476
>form {
7577
margin-top: 10px;
@@ -143,15 +145,17 @@ body>.popup.request>.frame-container>.frame {
143145
background-color: #eeeeee;
144146
display: block;
145147
vertical-align: middle;
146-
height: 32px;
148+
min-height: 32px;
147149
>button.card-button {
148150
@include unstyled-button();
149-
@include overflow-ellipsis();
151+
white-space: normal;
152+
word-break: break-all;
153+
overflow-wrap: break-word;
150154
width: 100%;
151155
background-size: 24px 24px;
152156
background-position: 4px 4px;
153157
background-repeat: no-repeat;
154-
padding-left: 32px;
155-
height: 31px;
158+
padding: 4px 4px 4px 32px;
159+
min-height: 31px;
156160
}
157161
}

0 commit comments

Comments
 (0)