Skip to content

Commit

Permalink
fix text cropping
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko committed Sep 1, 2023
1 parent 694676e commit 489285f
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 5 deletions.
14 changes: 9 additions & 5 deletions packages/devextreme/scss/widgets/base/textEditor/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@
margin-top: $label-offset-y;

&.dx-daterangebox {
.dx-label {
.dx-label {
position: relative;

&::before {
content: '';
width: 100%;
Expand Down Expand Up @@ -333,7 +335,7 @@
$texteditor-label-line-height,
$texteditor-label-top-offset,
$texteditor-font-size,
$texteditor-label-empty-height,
$texteditor-empty-label-height,
$texteditor-empty-label-line-height,
$texteditor-filled-input-horizontal-padding,
$texteditor-filled-input-with-label-top-padding,
Expand Down Expand Up @@ -375,7 +377,7 @@
.dx-texteditor-label {
transition: $texteditor-label-transition;
font-size: $texteditor-font-size;
height: $texteditor-label-empty-height;
height: $texteditor-empty-label-height;
line-height: $texteditor-empty-label-line-height;
top: 50%;
margin-top: math.div(-$texteditor-label-height, 2);
Expand Down Expand Up @@ -421,6 +423,8 @@
$texteditor-label-line-height,
$texteditor-label-top-offset,
$texteditor-font-size,
$texteditor-empty-label-height,
$texteditor-empty-label-line-height,
$texteditor-with-label-input-top-padding,
$texteditor-with-label-input-bottom-padding,
) {
Expand Down Expand Up @@ -454,8 +458,8 @@
transition: $texteditor-label-transition;
transform: translate(0, 0);
font-size: $texteditor-font-size;
height: $texteditor-label-height;
line-height: $texteditor-label-line-height;
height: $texteditor-empty-label-height;
line-height: $texteditor-empty-label-line-height;
top: 50%;
margin-top: math.div(-$texteditor-label-height, 2);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ $fluent-filled-texteditor-spin-button-horizontal-padding: $fluent-filled-textedi
$fluent-texteditor-label-font-size,
$fluent-texteditor-label-top-offset,
$fluent-texteditor-font-size,
$fluent-texteditor-font-size,
$fluent-texteditor-font-size,
$fluent-standard-texteditor-with-label-input-top-padding,
$fluent-standard-texteditor-with-label-input-bottom-padding,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ $generic-texteditor-invalid-badge-size: $generic-invalid-badge-size + 2 * $gener
$generic-base-line-height,
0,
$generic-base-font-size,
$generic-base-inline-block-height,
$generic-base-line-height,
$generic-texteditor-underlined-input-with-label-top-padding,
$generic-texteditor-underlined-input-with-label-bottom-padding,
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ $material-filled-texteditor-spin-button-horizontal-padding: $material-filled-tex
$material-texteditor-label-font-size,
$material-texteditor-label-top-offset,
$material-texteditor-font-size,
$material-texteditor-font-size,
$material-texteditor-font-size,
$material-standard-texteditor-with-label-input-top-padding,
$material-standard-texteditor-with-label-input-bottom-padding,
);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 489285f

Please sign in to comment.