mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 09:37:37 +00:00
add sticky footer contentview
This commit is contained in:
parent
9b0b007a5d
commit
ab322f0be4
@ -11,4 +11,7 @@
|
||||
.text{
|
||||
|
||||
}
|
||||
.codeeditor{
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
@ -6,6 +6,8 @@
|
||||
.flow-detail {
|
||||
width: 100%;
|
||||
overflow:hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
nav {
|
||||
background-color: #F2F2F2;
|
||||
@ -44,18 +46,14 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 0 !important;
|
||||
height:95%;
|
||||
}
|
||||
|
||||
.flowview-body{
|
||||
position:relative;
|
||||
flex: 1 1 auto;
|
||||
overflow: auto;
|
||||
padding: 5px 12px 0;
|
||||
}
|
||||
|
||||
.flowview-footer{
|
||||
flex: 0 0 auto;
|
||||
box-shadow: 0 0 3px gray;
|
||||
padding: 2px;
|
||||
margin: 0;
|
||||
|
@ -14,7 +14,7 @@ export default function CodeEditor ( { content, onChange} ){
|
||||
lineNumbers: true
|
||||
};
|
||||
return (
|
||||
<div onKeyDown={e => e.stopPropagation()}>
|
||||
<div className="codeeditor" onKeyDown={e => e.stopPropagation()}>
|
||||
<Codemirror value={content} onChange={onChange} options={options}/>
|
||||
</div>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user