pref(ideContainer):调整日志栏最小高度并优化右侧边栏渲染逻辑

master
钟良源 6 months ago
parent 9ce06903fc
commit 1b6a752b20

@ -68,7 +68,7 @@ const RightSideBar: React.FC = () => {
</span> </span>
} }
> >
<ResizeBox {activeTab === '1' && <ResizeBox
className={styles['right-resize-box']} className={styles['right-resize-box']}
directions={['left']} directions={['left']}
style={{ style={{
@ -79,7 +79,7 @@ const RightSideBar: React.FC = () => {
onMoving={handleResize} onMoving={handleResize}
> >
<ChatBox></ChatBox> <ChatBox></ChatBox>
</ResizeBox> </ResizeBox>}
</TabPane> </TabPane>
<TabPane <TabPane
key="2" key="2"
@ -90,7 +90,7 @@ const RightSideBar: React.FC = () => {
</span> </span>
} }
> >
<ResizeBox {activeTab === '2' && <ResizeBox
className={styles['right-resize-box']} className={styles['right-resize-box']}
directions={['left']} directions={['left']}
style={{ style={{
@ -101,7 +101,7 @@ const RightSideBar: React.FC = () => {
onMoving={handleResize} onMoving={handleResize}
> >
<Market></Market> <Market></Market>
</ResizeBox> </ResizeBox>}
</TabPane> </TabPane>
</Tabs> </Tabs>
</div> </div>

@ -1,6 +1,6 @@
.logBar { .logBar {
width: calc(100% - 220px); width: calc(100% - 220px);
min-height: 150px; min-height: 250px;
position: absolute; position: absolute;
bottom: 0; bottom: 0;
right: 0; right: 0;

Loading…
Cancel
Save