= ({ children, client, link }: IProps) => {
break;
}
- const advancedToggle = (
+ const advancedButton = (
{inviteUseString}
= ({ children, client, link }: IProps) => {
invite = (
<>
{invite}
- {advancedToggle}
+ {advancedButton}
>
);
}
diff --git a/src/components/LinkPreview.tsx b/src/components/LinkPreview.tsx
index 37557e7..e5355ef 100644
--- a/src/components/LinkPreview.tsx
+++ b/src/components/LinkPreview.tsx
@@ -25,7 +25,7 @@ import EventPreview from './EventPreview';
import GroupPreview from './GroupPreview';
import HomeserverOptions from './HomeserverOptions';
import DefaultPreview from './DefaultPreview';
-import Toggle from './Toggle';
+import Details from './Details';
import { clientMap } from '../clients';
import {
getRoomFromId,
@@ -133,7 +133,7 @@ const LinkPreview: React.FC = ({ link }: IProps) => {
content = (
<>
- setShowHSOPtions(!showHSOptions)}
>
@@ -143,7 +143,7 @@ const LinkPreview: React.FC = ({ link }: IProps) => {
{link.identifier}
-
+
>
);
if (showHSOptions) {
diff --git a/src/components/MatrixTile.scss b/src/components/MatrixTile.scss
index 1b71ad4..6c8f17b 100644
--- a/src/components/MatrixTile.scss
+++ b/src/components/MatrixTile.scss
@@ -16,7 +16,9 @@ limitations under the License.
.matrixTile {
background: none;
- row-gap: 8px;
-
+ box-shadow: none;
+ row-gap: 16px;
padding: 0 40px;
+ justify-items: left;
+ text-align: left;
}
diff --git a/src/components/MatrixTile.tsx b/src/components/MatrixTile.tsx
index 643e830..9808a09 100644
--- a/src/components/MatrixTile.tsx
+++ b/src/components/MatrixTile.tsx
@@ -16,6 +16,7 @@ limitations under the License.
import React from 'react';
import Tile from './Tile';
+import Footer from './Footer';
import logo from '../imgs/matrix-logo.svg';
@@ -43,6 +44,7 @@ const MatrixTile: React.FC = ({ isLink }: IProps) => {
{copy}
+
);
diff --git a/src/components/Tile.scss b/src/components/Tile.scss
index a5dabae..e97d907 100644
--- a/src/components/Tile.scss
+++ b/src/components/Tile.scss
@@ -20,6 +20,7 @@ limitations under the License.
background-color: $background;
border-radius: 16px;
+ box-shadow: 0px 18px 24px rgba(0, 0, 0, 0.06);
padding: 2rem;
display: grid;
diff --git a/src/index.scss b/src/index.scss
index 9ac7302..7bbbad4 100644
--- a/src/index.scss
+++ b/src/index.scss
@@ -46,7 +46,7 @@ h1 {
font-weight: bold;
font-size: 24px;
line-height: 32px;
- text-align: center;
+ text-align: left;
color: $foreground;
}
diff --git a/src/layouts/SingleColumn.scss b/src/layouts/SingleColumn.scss
index 00edf39..3e589b8 100644
--- a/src/layouts/SingleColumn.scss
+++ b/src/layouts/SingleColumn.scss
@@ -1,10 +1,26 @@
+/*
+Copyright 2020 The Matrix.org Foundation C.I.C.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
.singleColumnLayout {
height: 100%;
padding: 0 1em;
margin: 0 auto;
- max-width: 550px;
+ max-width: 480px;
display: grid;
row-gap: 60px;