wrap node-qrcode in a React FC and use it for ShareDialog instead of qrcode-react

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-11 23:46:58 +01:00
parent c000583099
commit 237084da78
5 changed files with 77 additions and 202 deletions

View file

@ -64,12 +64,15 @@ limitations under the License.
.mx_ShareDialog_qrcode_container {
float: left;
background-color: #ffffff;
padding: 5px; // makes qr code more readable in dark theme
border-radius: 5px;
height: 256px;
width: 256px;
margin-right: 64px;
img {
width: 100%;
height: 100%;
border-radius: 8px;
}
}
.mx_ShareDialog_social_container {