mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 09:15:16 +00:00
Fix button border color of LeaveSpaceDialog (#8010)
This commit is contained in:
@@ -19,10 +19,8 @@ limitations under the License.
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
padding: 24px 32px;
|
padding: 24px 32px;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_LeaveSpaceDialog {
|
.mx_LeaveSpaceDialog {
|
||||||
width: 440px;
|
width: 440px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -64,13 +62,6 @@ limitations under the License.
|
|||||||
color: $primary-content;
|
color: $primary-content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Dialog_buttons {
|
|
||||||
margin-top: 20px;
|
|
||||||
|
|
||||||
.mx_Dialog_primary {
|
|
||||||
background-color: $alert !important; // override default colour
|
|
||||||
border-color: $alert;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ const LeaveSpaceDialog: React.FC<IProps> = ({ space, onFinished }) => {
|
|||||||
</div>
|
</div>
|
||||||
<DialogButtons
|
<DialogButtons
|
||||||
primaryButton={_t("Leave space")}
|
primaryButton={_t("Leave space")}
|
||||||
|
primaryButtonClass="danger"
|
||||||
onPrimaryButtonClick={() => onFinished(true, roomsToLeave)}
|
onPrimaryButtonClick={() => onFinished(true, roomsToLeave)}
|
||||||
hasCancel={true}
|
hasCancel={true}
|
||||||
onCancel={() => onFinished(false)}
|
onCancel={() => onFinished(false)}
|
||||||
|
|||||||
Reference in New Issue
Block a user