mirror of
https://github.com/ruilisi/fortune-sheet.git
synced 2025-01-09 04:07:33 +08:00
fix: container style
This commit is contained in:
parent
79fb669e64
commit
6ad995e2d4
@ -1,6 +1,7 @@
|
|||||||
<style>
|
<style>
|
||||||
html,
|
html,
|
||||||
body {
|
body,
|
||||||
|
#root {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.fortune-sheet-canvas {
|
.fortune-sheet-canvas {
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
@ -1194,7 +1194,15 @@ const Sheet: React.FC<Props> = ({ data }) => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="fortune-sheet-overlay" ref={containerRef} tabIndex={-1}>
|
<div
|
||||||
|
className="fortune-sheet-overlay"
|
||||||
|
ref={containerRef}
|
||||||
|
tabIndex={-1}
|
||||||
|
style={{
|
||||||
|
width: context.luckysheetTableContentHW[0],
|
||||||
|
height: context.luckysheetTableContentHW[1],
|
||||||
|
}}
|
||||||
|
>
|
||||||
<div className="fortune-col-header-wrap">
|
<div className="fortune-col-header-wrap">
|
||||||
<div
|
<div
|
||||||
className="fortune-left-top"
|
className="fortune-left-top"
|
||||||
|
@ -1,11 +1,6 @@
|
|||||||
.luckysheet-sheet-area {
|
.luckysheet-sheet-area {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: absolute;
|
|
||||||
right: 0;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
/* background-color: #f6f6f6; */
|
|
||||||
background-color: #fafafc;
|
background-color: #fafafc;
|
||||||
color: #444;
|
color: #444;
|
||||||
height: 31px;
|
height: 31px;
|
||||||
|
Loading…
Reference in New Issue
Block a user