Merge pull request #1684 from ONLYOFFICE/feature/fix-bug-react

[DE PE] Fix Bug 56446
This commit is contained in:
maxkadushkin 2022-04-07 09:54:07 +03:00 committed by GitHub
commit 4a84186fad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 19 additions and 13 deletions

View file

@ -72,7 +72,7 @@
padding: 15px 0 0 15px; padding: 15px 0 0 15px;
} }
.range-number { [slot="inner-end"] {
color: @text-normal; color: @text-normal;
} }
} }

View file

@ -205,7 +205,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}} onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}}
></Range> ></Range>
</div> </div>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}> <div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)} {stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)}
</div> </div>
</ListItem> </ListItem>
@ -229,7 +229,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onOpacity(value)}} onRangeChanged={(value) => {props.onOpacity(value)}}
></Range> ></Range>
</div> </div>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}> <div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateOpacity + ' %'} {stateOpacity + ' %'}
</div> </div>
</ListItem> </ListItem>

View file

@ -162,7 +162,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}} onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}}
></Range> ></Range>
</div> </div>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}> <div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)} {stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)}
</div> </div>
</ListItem> </ListItem>
@ -186,7 +186,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onOpacity(value)}} onRangeChanged={(value) => {props.onOpacity(value)}}
></Range> ></Range>
</div> </div>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}> <div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateOpacity + ' %'} {stateOpacity + ' %'}
</div> </div>
</ListItem> </ListItem>

View file

@ -167,10 +167,16 @@
} }
.sheet-filter, .popover-filter { .sheet-filter, .popover-filter {
.list {
ul li:first-child .list-button{ ul li:first-child .list-button{
color: @text-normal; color: @text-normal;
&::after { &::after {
background: @background-menu-divider; background: @background-menu-divider;
} }
} }
.item-inner {
color: @text-normal;
}
}
} }

View file

@ -156,7 +156,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}} onRangeChanged={(value) => {props.onBorderSize(borderSizeTransform.sizeByIndex(value))}}
></Range> ></Range>
</div> </div>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}> <div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)} {stateTextBorderSize + ' ' + Common.Utils.Metric.getMetricName(Common.Utils.Metric.c_MetricUnits.pt)}
</div> </div>
</ListItem> </ListItem>
@ -180,7 +180,7 @@ const PageStyle = props => {
onRangeChanged={(value) => {props.onOpacity(value)}} onRangeChanged={(value) => {props.onOpacity(value)}}
></Range> ></Range>
</div> </div>
<div className='range-number' slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}> <div slot='inner-end' style={{minWidth: '60px', textAlign: 'right'}}>
{stateOpacity + ' %'} {stateOpacity + ' %'}
</div> </div>
</ListItem> </ListItem>