mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
litte style changes
This commit is contained in:
parent
e036bc9304
commit
fd7b6b958e
@ -69,6 +69,10 @@
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.view-all-content-btn{
|
||||
float: right;
|
||||
}
|
||||
|
||||
.flow-detail table {
|
||||
.monospace();
|
||||
width: 100%;
|
||||
|
@ -14,7 +14,7 @@ ShowFullContentButton.propTypes = {
|
||||
function ShowFullContentButton ( {setShowFullContent, showFullContent} ){
|
||||
|
||||
return (
|
||||
!showFullContent && <Button isXs={true} onClick={() => setShowFullContent(true)} text="Show full content"/>
|
||||
!showFullContent && <Button className="view-all-content-btn" isXs={true} onClick={() => setShowFullContent(true)} text="Show full content"/>
|
||||
)
|
||||
}
|
||||
|
||||
|
@ -7,9 +7,9 @@ Button.propTypes = {
|
||||
icon: PropTypes.string
|
||||
}
|
||||
|
||||
export default function Button({ onClick, text, icon, disabled, isXs }) {
|
||||
export default function Button({ onClick, text, icon, disabled, isXs, className }) {
|
||||
return (
|
||||
<div className={classnames('btn btn-default', { 'btn-xs': isXs})}
|
||||
<div className={classnames(className, 'btn btn-default', { 'btn-xs': isXs})}
|
||||
onClick={onClick}
|
||||
disabled={disabled}>
|
||||
{icon && (<i className={"fa fa-fw " + icon}/> )}
|
||||
|
Loading…
Reference in New Issue
Block a user