mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 21:58:09 +08:00
Merge pull request '[SSE] Fix cell editor height' (#461) from fix/celleditor into release/v9.0.0
This commit is contained in:
@ -99,6 +99,7 @@
|
||||
@celleditor-border-width-ie: 0px;
|
||||
@celleditor-input-border-ie: 1px solid #E1E1E1;
|
||||
@celleditor-input-border-radius-ie: 4px;
|
||||
@celleditor-cell-name-height-ie: 24px;
|
||||
@celleditor-cell-name-border-right-ie: 1px solid #E1E1E1;
|
||||
@celleditor-func-label-margin-left-ie: 1px;
|
||||
|
||||
|
||||
@ -200,6 +200,11 @@
|
||||
--celleditor-height: 24px;
|
||||
--celleditor-line-height: 20px;
|
||||
--celleditor-border-width: 0px;
|
||||
--celleditor-input-border: var(--scaled-one-pixel, 1px) solid var(--border-fill-input);
|
||||
--celleditor-input-border-radius: var(--border-radius-form-control);
|
||||
--celleditor-cell-name-height: calc(var(--celleditor-height) + (1px - 1px/var(--pixel-ratio-factor,1)));
|
||||
--celleditor-cell-name-border-right: var(--scaled-one-pixel, 1px) solid var(--border-fill-input);
|
||||
--celleditor-func-label-margin-left: 1px;
|
||||
|
||||
--x-small-btn-size: 24px;
|
||||
--x-small-btn-icon-size: 24px;
|
||||
|
||||
@ -204,6 +204,7 @@
|
||||
--celleditor-border-width: 0px;
|
||||
--celleditor-input-border: var(--scaled-one-pixel, 1px) solid var(--border-fill-input);
|
||||
--celleditor-input-border-radius: var(--border-radius-form-control);
|
||||
--celleditor-cell-name-height: calc(var(--celleditor-height) + (1px - 1px/var(--pixel-ratio-factor,1)));
|
||||
--celleditor-cell-name-border-right: var(--scaled-one-pixel, 1px) solid var(--border-fill-input);
|
||||
--celleditor-func-label-margin-left: 1px;
|
||||
|
||||
|
||||
@ -260,6 +260,7 @@
|
||||
--celleditor-border-width: var(--scaled-one-pixel, 1px);
|
||||
--celleditor-input-border: 0 none;
|
||||
--celleditor-input-border-radius: 0;
|
||||
--celleditor-cell-name-height: calc(var(--celleditor-height) - var(--celleditor-border-width) + (1px - 1px/var(--pixel-ratio-factor,1)));
|
||||
--celleditor-cell-name-border-right: var(--scaled-one-pixel, 1px) solid var(--border-toolbar);
|
||||
--celleditor-func-label-margin-left: -3px;
|
||||
|
||||
@ -520,6 +521,7 @@
|
||||
@celleditor-border-width: var(--celleditor-border-width);
|
||||
@celleditor-input-border: var(--celleditor-input-border);
|
||||
@celleditor-input-border-radius: var(--celleditor-input-border-radius);
|
||||
@celleditor-cell-name-height: var(--celleditor-cell-name-height);
|
||||
@celleditor-cell-name-border-right: var(--celleditor-cell-name-border-right);
|
||||
@celleditor-func-label-margin-left: var(--celleditor-func-label-margin-left);
|
||||
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
|
||||
#ce-cell-name {
|
||||
width: 100px;
|
||||
height: calc(@celleditor-height-ie - @celleditor-border-width-ie);
|
||||
height: calc(@celleditor-height - var(--celleditor-border-width) + (1px - 1px/var(--pixel-ratio-factor,1)));
|
||||
height: @celleditor-cell-name-height-ie;
|
||||
height: @celleditor-cell-name-height;
|
||||
padding: 0px 19px 0 4px;
|
||||
vertical-align: top;
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user