From dbf1e1694b6816052911d5a7affb5fcefb260a9b Mon Sep 17 00:00:00 2001 From: hole-thu Date: Sun, 16 Oct 2022 22:54:09 +0800 Subject: [PATCH] fix some UI problems --- src/Flows.css | 5 +++++ src/Flows.js | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/Flows.css b/src/Flows.css index f76e885..8357422 100644 --- a/src/Flows.css +++ b/src/Flows.css @@ -145,6 +145,10 @@ font-size: 0.8em; } +.box-header { + display: flow-root; +} + .flow-item-row p.img { text-align: center; margin-top: 0.5em; @@ -404,6 +408,7 @@ .box-content-wrapper .box-content-vote { flex: 0 0; + margin-left: 6px; } .vote-num { diff --git a/src/Flows.js b/src/Flows.js index 0150e4d..f857d4f 100644 --- a/src/Flows.js +++ b/src/Flows.js @@ -370,8 +370,8 @@ class FlowItem extends PureComponent { ? 'vote-icon-active' : 'vote-icon-inactive' } - width="28" - height="28" + width="24" + height="24" viewBox="0 0 36 36" > @@ -392,8 +392,8 @@ class FlowItem extends PureComponent { ? 'vote-icon-active' : 'vote-icon-inactive' } - width="28" - height="28" + width="24" + height="24" viewBox="0 0 36 36" >