[common] repaired combo styles scaled view

This commit is contained in:
Maxim Kadushkin 2021-02-10 16:36:49 +03:00
parent 49b2c49a84
commit efdf9e1bc0
2 changed files with 5 additions and 2 deletions

View file

@ -87,7 +87,10 @@
padding: 3px; padding: 3px;
border: @scaled-one-px-value solid @border-regular-control; border: @scaled-one-px-value solid @border-regular-control;
.box-shadow(none); .box-shadow(none);
margin: 0 -1px -1px 0;
@minus-px: calc(-1px / @pixel-ratio-factor);
margin: 0 @minus-px @minus-px 0;
height: @combo-dataview-height;
&:hover { &:hover {

View file

@ -1,7 +1,7 @@
// //
// Global values // Global values
// -------------------------------------------------- // --------------------------------------------------
@pixel-ratio-factor: var(--pixel-ratio-factor); @pixel-ratio-factor: var(--pixel-ratio-factor, 1);
@scaled-one-px-value: var(--scaled-one-pixel, 1px); @scaled-one-px-value: var(--scaled-one-pixel, 1px);
@scaled-two-px-value: var(--scaled-two-pixel, 2px); @scaled-two-px-value: var(--scaled-two-pixel, 2px);