diff options
author | Clemens <cle1000.cb@gmail.com> | 2016-08-09 16:15:45 +0200 |
---|---|---|
committer | Clemens <cle1000.cb@gmail.com> | 2016-08-09 16:15:45 +0200 |
commit | 78bd99f97c36ba24bbab389350eb8e80ba16738f (patch) | |
tree | c2cce0f11aca9e7c378414eebc6e6eec7bdbf474 /web/src | |
parent | adfdcc9391ed70202a1b4af65259a89634f36fa0 (diff) | |
download | mitmproxy-78bd99f97c36ba24bbab389350eb8e80ba16738f.tar.gz mitmproxy-78bd99f97c36ba24bbab389350eb8e80ba16738f.tar.bz2 mitmproxy-78bd99f97c36ba24bbab389350eb8e80ba16738f.zip |
little changes in css
Diffstat (limited to 'web/src')
-rw-r--r-- | web/src/css/flowdetail.less | 30 | ||||
-rw-r--r-- | web/src/js/components/FlowView/Details.jsx | 2 | ||||
-rw-r--r-- | web/src/js/components/FlowView/Messages.jsx | 2 |
3 files changed, 18 insertions, 16 deletions
diff --git a/web/src/css/flowdetail.less b/web/src/css/flowdetail.less index 8244300f..22c6e4ae 100644 --- a/web/src/css/flowdetail.less +++ b/web/src/css/flowdetail.less @@ -16,9 +16,24 @@ section { display: flex; flex-direction: column; - padding: 0 !important; + >article{ + overflow: auto; + padding: 5px 12px 0; + } + >footer { + box-shadow: 0 0 3px gray; + padding: 2px; + margin: 0; + height:23px; + } } + section.detail section.error{ + overflow: auto; + padding: 5px 12px 0; + } + + .first-line { .monospace(); background-color: #428bca; @@ -41,19 +56,6 @@ hr { margin: 0 0 5px; } - - article { - overflow: auto; - padding: 5px 12px 0; - } - - footer { - box-shadow: 0 0 3px gray; - padding: 2px; - margin: 0; - height:23px; - } - } diff --git a/web/src/js/components/FlowView/Details.jsx b/web/src/js/components/FlowView/Details.jsx index 6a16a98e..10ec6553 100644 --- a/web/src/js/components/FlowView/Details.jsx +++ b/web/src/js/components/FlowView/Details.jsx @@ -114,7 +114,7 @@ export function Timing({ flow }) { export default function Details({ flow }) { return ( - <section> + <section className="detail"> <h4>Client Connection</h4> <ConnectionInfo conn={flow.client_conn}/> diff --git a/web/src/js/components/FlowView/Messages.jsx b/web/src/js/components/FlowView/Messages.jsx index 6d049fa4..93c52660 100644 --- a/web/src/js/components/FlowView/Messages.jsx +++ b/web/src/js/components/FlowView/Messages.jsx @@ -216,7 +216,7 @@ ErrorView.propTypes = { export function ErrorView({ flow }) { return ( - <section> + <section className="error"> <div className="alert alert-warning"> {flow.error.msg} <div> |