avoid abusing spans because you're too lazy to give things a class

This commit is contained in:
Michael Telatynski 2021-07-23 16:03:15 +01:00
parent 010baabfe6
commit b89434fcbc
2 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ limitations under the License.
display: flex;
margin-top: 20px;
> span {
.mx_CreateSubspaceDialog_footer_prompt {
flex-grow: 1;
font-size: $font-12px;
line-height: $font-15px;

View file

@ -158,7 +158,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
</div>
<div className="mx_CreateSubspaceDialog_footer">
<span>
<div className="mx_CreateSubspaceDialog_footer_prompt">
<div>{ _t("Want to add an existing space instead?") }</div>
<AccessibleButton kind="link" onClick={() => {
onAddExistingSpaceClick();
@ -166,7 +166,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
}}>
{ _t("Add existing space") }
</AccessibleButton>
</span>
</div>
<AccessibleButton kind="primary_outline" disabled={busy} onClick={() => onFinished(false)}>
{ _t("Cancel") }