* Fixed text clipping out of the text box when increasing the font size

* Centered "text-font" and "text-size" inputs
* Fixed missing "checked" attribute for the default text alignment option
This commit is contained in:
Sync1211 2022-05-28 13:35:19 +02:00
parent 44df87011c
commit c72658e241
No known key found for this signature in database
GPG Key ID: B8878699435E69EC
2 changed files with 4 additions and 3 deletions

View File

@ -184,7 +184,7 @@
<div id="text-settings">
<div name="font-and-size" class="text-settings-group">
<select id="text-font" style="margin: 0px; margin-left: 0px; margin-left: 10px;">
<select id="text-font">
<option value="Arial">Arial (sans-serif)</option>
<option value="Brush Script MT">Brush Script MT (cursive)</option>
<option value="Courier New">Courier New (monospace)</option>
@ -201,7 +201,7 @@
<div name="wrap-and-align" class="text-settings-group">
<label data-i18n="wrap-by-space" name="wrap-by-space-label"><input type="checkbox" name="wrap-by-space" data-key checked />Wrap text</label>
<span class="text-align-container">
<input type="radio" name="text-align" value="left"/>
<input type="radio" name="text-align" value="left" checked/>
<span class="text-align-checkmark text-align-left"></span>
</span>
<span class="text-align-container">

View File

@ -667,6 +667,7 @@ body.high-contrast #control-overlay { background-color: var(--shade); }
overflow: hidden auto;
white-space: break-spaces;
resize:none;
padding-top: .65ex;
}
.text-align-container span {
@ -714,4 +715,4 @@ input[name="wrap-by-space"] { margin-right: 5px; }
justify-content: center;
}
label[name="wrap-by-space-label"] { padding-right: 2%; }
#text-font { height: 100%; }
#text-font { height: 100%; margin: 0px; }