From 815750e983cdf9d76910afce494c18970c0fbf0b Mon Sep 17 00:00:00 2001
From: Vitaly Takmazov
Date: Thu, 6 Dec 2018 17:28:14 +0300
Subject: layout fixes
---
vnext/src/App.js | 8 ++++----
vnext/src/components/Message.css | 38 +-------------------------------------
vnext/src/components/Spinner.js | 8 +++-----
3 files changed, 8 insertions(+), 46 deletions(-)
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 626153e0..3a825770 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -119,14 +119,14 @@ export default class App extends React.Component {
}
- Discover
-
+ Discover
+
{user.uid > 0 ?
- Post
-
+ Post
+
:
}
diff --git a/vnext/src/components/Message.css b/vnext/src/components/Message.css
index 328e5598..8a879805 100644
--- a/vnext/src/components/Message.css
+++ b/vnext/src/components/Message.css
@@ -1,57 +1,21 @@
-article {
- background: #fff;
- box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
- line-height: 140%;
- margin-bottom: 10px;
- padding: 20px;
-}
-article time {
- color: #999;
- font-size: small;
-}
-article p {
- clear: left;
- margin: 5px 0 15px 0;
- word-wrap: break-word;
- overflow-wrap: break-word;
-}
-article .ir {
- text-align: center;
-}
-article .ir a {
- cursor: zoom-in;
- display: block;
-}
.msg-cont .ir img {
max-width: 100%;
height: auto;
}
-article > nav.l,
.msg-cont > nav.l {
border-top: 1px solid #eee;
display: flex;
justify-content: space-around;
font-size: small;
}
-article > nav.l a,
.msg-cont > nav.l a {
color: #888;
margin-right: 15px;
}
-article .likes {
- padding-left: 20px;
-}
-article .replies {
- margin-left: 18px;
-}
-article .tags {
- margin-top: 3px;
-}
.msg-tags {
margin-top: 12px;
min-height: 1px;
}
-article .tags > a,
.badge,
.msg-tags > a {
background: #eee;
@@ -93,7 +57,7 @@ article .tags > a,
box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
line-height: 140%;
margin-bottom: 12px;
- padding: 20px;
+ padding: 12px;
}
.reply-new .msg-cont {
border-right: 5px solid #0C0;
diff --git a/vnext/src/components/Spinner.js b/vnext/src/components/Spinner.js
index b5e33947..a11426df 100644
--- a/vnext/src/components/Spinner.js
+++ b/vnext/src/components/Spinner.js
@@ -5,19 +5,17 @@ export default function Spinner(props) {
return (
-
-
+
+
-
+
);
--
cgit v1.2.3