Iterate text alignment

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2020-05-21 17:12:16 +01:00
parent 5995a27ced
commit 6a0ffe905f
3 changed files with 7 additions and 3 deletions

View File

@ -99,9 +99,10 @@ limitations under the License.
} }
span { span {
padding-left: 8px;
float: right; float: right;
font-size: $font-12px; font-size: $font-12px;
line-height: $font-21px; line-height: $font-22px;
color: $muted-fg-color; color: $muted-fg-color;
} }
} }

View File

@ -50,7 +50,11 @@ export default class ToastContainer extends React.Component {
"mx_Toast_hasIcon": icon, "mx_Toast_hasIcon": icon,
[`mx_Toast_icon_${icon}`]: icon, [`mx_Toast_icon_${icon}`]: icon,
}); });
const countIndicator = isStacked ? _t(" (1/%(totalCount)s)", {totalCount}) : null;
let countIndicator;
if (isStacked) {
countIndicator = `1/${totalCount}`;
}
const toastProps = Object.assign({}, props, { const toastProps = Object.assign({}, props, {
key, key,

View File

@ -2073,7 +2073,6 @@
"Tried to load a specific point in this room's timeline, but you do not have permission to view the message in question.": "Tried to load a specific point in this room's timeline, but you do not have permission to view the message in question.", "Tried to load a specific point in this room's timeline, but you do not have permission to view the message in question.": "Tried to load a specific point in this room's timeline, but you do not have permission to view the message in question.",
"Tried to load a specific point in this room's timeline, but was unable to find it.": "Tried to load a specific point in this room's timeline, but was unable to find it.", "Tried to load a specific point in this room's timeline, but was unable to find it.": "Tried to load a specific point in this room's timeline, but was unable to find it.",
"Failed to load timeline position": "Failed to load timeline position", "Failed to load timeline position": "Failed to load timeline position",
" (1/%(totalCount)s)": " (1/%(totalCount)s)",
"Guest": "Guest", "Guest": "Guest",
"Your profile": "Your profile", "Your profile": "Your profile",
"Uploading %(filename)s and %(count)s others|other": "Uploading %(filename)s and %(count)s others", "Uploading %(filename)s and %(count)s others|other": "Uploading %(filename)s and %(count)s others",