avoid abusing spans because you're too lazy to give things a class
parent
010baabfe6
commit
b89434fcbc
|
@ -47,7 +47,7 @@ limitations under the License.
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
|
||||||
> span {
|
.mx_CreateSubspaceDialog_footer_prompt {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
font-size: $font-12px;
|
font-size: $font-12px;
|
||||||
line-height: $font-15px;
|
line-height: $font-15px;
|
||||||
|
|
|
@ -158,7 +158,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mx_CreateSubspaceDialog_footer">
|
<div className="mx_CreateSubspaceDialog_footer">
|
||||||
<span>
|
<div className="mx_CreateSubspaceDialog_footer_prompt">
|
||||||
<div>{ _t("Want to add an existing space instead?") }</div>
|
<div>{ _t("Want to add an existing space instead?") }</div>
|
||||||
<AccessibleButton kind="link" onClick={() => {
|
<AccessibleButton kind="link" onClick={() => {
|
||||||
onAddExistingSpaceClick();
|
onAddExistingSpaceClick();
|
||||||
|
@ -166,7 +166,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
|
||||||
}}>
|
}}>
|
||||||
{ _t("Add existing space") }
|
{ _t("Add existing space") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</span>
|
</div>
|
||||||
|
|
||||||
<AccessibleButton kind="primary_outline" disabled={busy} onClick={() => onFinished(false)}>
|
<AccessibleButton kind="primary_outline" disabled={busy} onClick={() => onFinished(false)}>
|
||||||
{ _t("Cancel") }
|
{ _t("Cancel") }
|
||||||
|
|
Loading…
Reference in New Issue