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