Make sure the style preview text does not overlap for large font sizes
This commit is contained in:
committed by
Sebastiaan Janssen
parent
07329103b1
commit
2c1ba1d23d
@@ -38,10 +38,12 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.umb-stylesheet-rule-overlay {
|
||||
textarea {
|
||||
width: 300px;
|
||||
height: 120px;
|
||||
resize: none;
|
||||
}
|
||||
textarea.umb-stylesheet-rule-styles {
|
||||
width: 300px;
|
||||
height: 100px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.umb-stylesheet-rule-preview {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
@@ -27,11 +27,11 @@
|
||||
</umb-control-group>
|
||||
|
||||
<umb-control-group label="@stylesheet_styles" description="@stylesheet_stylesHelp">
|
||||
<textarea ng-model="model.rule.styles" required></textarea>
|
||||
<textarea class="umb-stylesheet-rule-styles" ng-model="model.rule.styles" required></textarea>
|
||||
</umb-control-group>
|
||||
|
||||
<umb-control-group label="@stylesheet_preview" description="@stylesheet_previewHelp">
|
||||
<div style="{{model.rule.styles}}">
|
||||
<div class="umb-stylesheet-rule-preview" style="{{model.rule.styles}}">
|
||||
a b c d e f g h i j k l m n o p q r s t u v w x t z
|
||||
<br>
|
||||
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
|
||||
|
||||
Reference in New Issue
Block a user