mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #14822 from overleaf/mj-safari-table-size
[visual] Workaround for safari table size GitOrigin-RevId: 937a606bf3b6093029e5a952c2a13a3f083ca74c
This commit is contained in:
parent
f4ebe98d91
commit
7d3c8fb78d
2 changed files with 2 additions and 1 deletions
|
@ -333,7 +333,7 @@ export const Table: FC = () => {
|
|||
onKeyDown={onKeyDown}
|
||||
tabIndex={-1}
|
||||
ref={tableRef}
|
||||
style={{ width: `${tableWidth}ch` }}
|
||||
style={{ width: `min(${tableWidth}ch, 95%)` }}
|
||||
>
|
||||
<colgroup>
|
||||
<col width="20" />
|
||||
|
|
|
@ -126,6 +126,7 @@ export const tableGeneratorTheme = EditorView.baseTheme({
|
|||
|
||||
'.table-generator-table': {
|
||||
'table-layout': 'fixed',
|
||||
width: '95%',
|
||||
'max-width': '95%',
|
||||
margin: '0 auto',
|
||||
cursor: 'default',
|
||||
|
|
Loading…
Reference in a new issue