Skip to content

Commit

Permalink
feat: 调整样式遮挡问题 (#431)
Browse files Browse the repository at this point in the history
Co-authored-by: fusikai <fusikai@douyu.tv>
  • Loading branch information
linthan and fusikai committed Feb 24, 2023
1 parent 63b8ba3 commit d75328d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/src/pages/app/components/Event/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function Event(props: AppEventProps & AppEventState) {
}, [active, appName, env]);

return (
<div style={{ padding: '20px', overflow: 'auto' }}>
<div style={{ padding: '20px', overflow: 'auto', flex: 1, overflow: "auto" }}>
<List
loading={listLoading}
pagination={{
Expand Down
2 changes: 2 additions & 0 deletions assets/src/pages/app/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@
right: 0;
bottom: 0;
left: 0;
display: flex;
flex-direction: column;
}

.ant-tabs-left {
Expand Down
2 changes: 1 addition & 1 deletion assets/src/pages/etcd/etcd.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export default class Etcd extends React.PureComponent {
}

return (
<div style={{ backgroundColor: '#f7f8fa' }}>
<div style={{ backgroundColor: '#f7f8fa', flex: 1, overflow: "auto" }}>
<div
style={{
marginLeft: 10,
Expand Down
4 changes: 2 additions & 2 deletions assets/src/pages/pprof/pprof.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class PPofList extends React.PureComponent {

handleCheckLog = (e) => {
console.log('click', e);
const {} = this.state;
const { } = this.state;
installDep({ installType: e * 1 }).then((rs) => {
const { code, msg, data } = rs;
if (code === 0) {
Expand Down Expand Up @@ -306,7 +306,7 @@ export default class PPofList extends React.PureComponent {
onChangeZone(e.target.value);
};
return (
<div style={{ marginLeft: 10, marginTop: 10, marginRight: 10, marginBottom: 10 }}>
<div style={{ marginLeft: 10, marginTop: 10, marginRight: 10, marginBottom: 10, flex: 1, overflow: "auto" }}>
<Row>
<Col span={8}>
<Select
Expand Down

0 comments on commit d75328d

Please sign in to comment.