Skip to content
Snippets Groups Projects
Commit 1341c62c authored by Evelyn Eastmond's avatar Evelyn Eastmond
Browse files

Adding RTL padding to reconnect button on alerts.

parent 14b019f3
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@
align-self: center;
}
.connection-button {
.alert-connection-button {
min-height: 2rem;
padding: 0.55rem 0.9rem;
border-radius: 0.35rem;
......@@ -68,6 +68,13 @@
display: flex;
align-items: center;
align-self: center;
margin-right: 13px;
outline-style:none;
}
[dir="ltr"] .alert-connection-button {
margin-right: 13px;
}
[dir="rtl"] .alert-connection-button {
margin-left: 13px;
}
......@@ -42,7 +42,7 @@ const AlertComponent = ({
<div className={styles.alertMessage}>
{extensionName ? (
<FormattedMessage
defaultMessage="Scratch lost connection to {extensionName}"
defaultMessage="Scratch lost connection to {extensionName}."
description="Message indicating that an extension peripheral has been disconnected"
id="gui.alerts.lostPeripheralConnection"
values={{
......@@ -55,7 +55,7 @@ const AlertComponent = ({
</div>
{showReconnect && (
<button
className={styles.connectionButton}
className={styles.alertConnectionButton}
onClick={onReconnect}
>
<FormattedMessage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment