diff --git a/components/core/Profile.js b/components/core/Profile.js index ee70ab28..60cb343e 100644 --- a/components/core/Profile.js +++ b/components/core/Profile.js @@ -132,7 +132,7 @@ const STYLES_DESCRIPTION = css` const STYLES_STATS = css` font-size: ${Constants.typescale.lvl0}; line-height: 1.5; - margin-top: 24px; + margin: 12px 0 24px 0; display: flex; width: 100%; flex-wrap: wrap; @@ -142,9 +142,6 @@ const STYLES_STAT = css` margin-right: 16px; width: 112px; flex-shrink: 0; - margin-bottom: 16px; - ${"" /* border-left: 1px solid ${Constants.system.darkGray}; -padding-left: 12px; */}; `; const STYLES_BUTTON = css` @@ -169,6 +166,7 @@ const STYLES_FLEX = css` display: flex; margin-bottom: 12px; align-items: baseline; + justify-content: space-between; @media (max-width: ${Constants.sizes.mobile}px) { display: block; } @@ -195,20 +193,8 @@ export default class Profile extends React.Component {
{Strings.getPresentationName(data)}
+
{this.props.buttons}
- - { - data.data.body ? ( -
- -
- ) : null - //
- // - //
- } - -
{this.props.buttons}
Public data
@@ -223,6 +209,17 @@ export default class Profile extends React.Component {
0
*/}
+ + { + data.data.body ? ( +
+ +
+ ) : null + //
+ // + //
+ }
) : ( @@ -235,21 +232,11 @@ export default class Profile extends React.Component {
{Strings.getPresentationName(data)}
-
- { - data.data.body ? ( -
- -
- ) : null - //
- // - //
- } -
- - Follow - +
+ + Follow + +
@@ -267,6 +254,16 @@ export default class Profile extends React.Component {
0
*/}
+ { + data.data.body ? ( +
+ +
+ ) : null + //
+ // + //
+ }
diff --git a/components/core/SlatePreviewBlockExternal.js b/components/core/SlatePreviewBlockExternal.js index c250fd62..c278b14b 100644 --- a/components/core/SlatePreviewBlockExternal.js +++ b/components/core/SlatePreviewBlockExternal.js @@ -51,6 +51,7 @@ const STYLES_PLACEHOLDER = css` height: 320px; background-size: cover; background-position: 50% 50%; + margin-bottom: 4px; @media (max-width: ${Constants.sizes.mobile}px) { height: 100%; @@ -345,7 +346,8 @@ export class SlatePreviewBlock extends React.Component { const STYLES_LINK = css` color: ${Constants.system.black}; text-decoration: none; - width: 33.33%; + width: calc(33.33% - 16px); + margin-bottom: 24px; @media (max-width: ${Constants.sizes.tablet}px) { width: 50%; @@ -362,6 +364,7 @@ const STYLES_SLATES = css` flex-wrap: wrap; overflow: hidden; padding-bottom: 48px; + justify-content: space-between; @media (max-width: ${Constants.sizes.mobile}px) { display: block;