You've already forked matrix-react-sdk
							
							
				mirror of
				https://github.com/matrix-org/matrix-react-sdk.git
				synced 2025-11-04 11:51:45 +03:00 
			
		
		
		
	avoid abusing spans because you're too lazy to give things a class
This commit is contained in:
		@@ -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") }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user