From a3633cd4471df3c9c8b6f4dc8c0b087edb3d57fb Mon Sep 17 00:00:00 2001 From: xmcp Date: Wed, 10 Jul 2019 21:02:50 +0800 Subject: [PATCH] fix box-tip style --- src/Flows.css | 22 ++++++++++++---------- src/Flows.js | 8 +++++--- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/src/Flows.css b/src/Flows.css index ce105013..2a77c413 100644 --- a/src/Flows.css +++ b/src/Flows.css @@ -63,6 +63,18 @@ margin-left: 50px; } +@media screen and (min-width: 1301px) { + .left-container .flow-item-row .flow-item:hover::before { + content: '>>'; + position: absolute; + left: 10px; + margin-top: 1.5em; + color: white; + text-shadow: 0 0 2px #000; + font-family: 'Consolas', 'Courier', monospace; + } +} + @media screen and (max-width: 1300px) { .left-container .flow-item { margin-left: 10px; @@ -103,16 +115,6 @@ cursor: default; } -.left-container .flow-item-row:hover::before { - content: '>>'; - position: absolute; - left: 10px; - margin-top: 1.5em; - color: white; - text-shadow: 0 0 2px #000; - font-family: 'Consolas', 'Courier', monospace; -} - .box-header, .box-footer { font-size: small; } diff --git a/src/Flows.js b/src/Flows.js index cb209dd2..02ca3b4c 100644 --- a/src/Flows.js +++ b/src/Flows.js @@ -549,9 +549,11 @@ class FlowItemQuote extends PureComponent { return null; else if(this.state.loading_status==='loading') return ( -
- - 提到了 #{this.props.pid} +
+
+ + 提到了 #{this.props.pid} +
); else if(this.state.loading_status==='error')