remove subheadings in ShareDialog

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-06-14 18:56:46 +01:00
parent 33a3cfead6
commit 7de7275c6d
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E
2 changed files with 17 additions and 23 deletions

View file

@ -21,7 +21,7 @@ limitations under the License.
.mx_ShareDialog hr {
margin-top: 25px;
margin-bottom: 10px;
margin-bottom: 25px;
border-color: $light-fg-color;
}
@ -78,12 +78,12 @@ limitations under the License.
}
.mx_ShareDialog_social_container {
display: flex;
flex-wrap: wrap;
display: inline-block;
width: 299px;
}
.mx_ShareDialog_social_icon {
display: inline-grid;
margin-right: 10px;
margin-bottom: 10px;
}

View file

@ -201,14 +201,9 @@ export default class ShareDialog extends React.Component {
<hr />
<div className="mx_ShareDialog_split">
<div className="mx_ShareDialog_left">
<h3>QR Code</h3>
<div className="mx_ShareDialog_qrcode_container">
<QRCode value={matrixToUrl} size={256} logoWidth={48} logo="img/matrix-m.svg" />
</div>
</div>
<div className="mx_ShareDialog_right">
<h3>Social</h3>
<div className="mx_ShareDialog_social_container">
{
socials.map((social) => <a rel="noopener"
@ -224,7 +219,6 @@ export default class ShareDialog extends React.Component {
</div>
</div>
</div>
</div>
</BaseDialog>;
}
}