Bug 1486870 - Don't display the location element as block; r=fvsch.

Having the element displayed as a block cause some new lines
to be added the clipboard when doing a selection and copying.
This would also break the changes we are doing in the "Copy message"
context menu entry.

Differential Revision: https://phabricator.services.mozilla.com/D17377

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nicolas Chevobbe 2019-01-25 17:15:19 +00:00
Родитель f23bb47fc8
Коммит d33fb10b9a
1 изменённых файлов: 7 добавлений и 10 удалений

Просмотреть файл

@ -266,23 +266,19 @@ a {
max-width: 40vw;
flex-shrink: 0;
color: var(--frame-link-source);
margin-inline-start: 1ch;
}
.message-location:empty {
display: none;
}
.message-location .frame-link-source {
margin-left: 1ch;
/* Makes the file name truncated (and ellipsis shown) on the left side */
direction: rtl;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
text-align: end;
}
.message-location:empty {
display: none;
}
.message-location .frame-link-source-inner {
/* Enforce LTR direction for the file name - fixes bug 1290056 */
direction: ltr;
@ -338,7 +334,8 @@ a {
.message.network .status {
flex: none;
margin-inline-start: 1ch;
cursor: default;
margin-left: 1ch;
cursor: default;
}