From 7de7275c6d526f5ab5214cc4f488d5aae587e6cf Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 14 Jun 2018 18:56:46 +0100 Subject: [PATCH] remove subheadings in ShareDialog Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- res/css/views/dialogs/_ShareDialog.scss | 6 ++-- src/components/views/dialogs/ShareDialog.js | 34 +++++++++------------ 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/res/css/views/dialogs/_ShareDialog.scss b/res/css/views/dialogs/_ShareDialog.scss index ab340ad758..116bef8dfd 100644 --- a/res/css/views/dialogs/_ShareDialog.scss +++ b/res/css/views/dialogs/_ShareDialog.scss @@ -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; } diff --git a/src/components/views/dialogs/ShareDialog.js b/src/components/views/dialogs/ShareDialog.js index a1a8598fdb..f074d9b1fa 100644 --- a/src/components/views/dialogs/ShareDialog.js +++ b/src/components/views/dialogs/ShareDialog.js @@ -201,27 +201,21 @@ export default class ShareDialog extends React.Component {
-
-

QR Code

-
- -
+
+
-
-

Social

-
- { - socials.map((social) => - {social.name} - ) - } -
+
+ { + socials.map((social) => + {social.name} + ) + }