mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-17 15:50:11 -07:00
* 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:
parent
44df87011c
commit
c72658e241
@ -184,7 +184,7 @@
|
|||||||
<div id="text-settings">
|
<div id="text-settings">
|
||||||
<div name="font-and-size" class="text-settings-group">
|
<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="Arial">Arial (sans-serif)</option>
|
||||||
<option value="Brush Script MT">Brush Script MT (cursive)</option>
|
<option value="Brush Script MT">Brush Script MT (cursive)</option>
|
||||||
<option value="Courier New">Courier New (monospace)</option>
|
<option value="Courier New">Courier New (monospace)</option>
|
||||||
@ -201,7 +201,7 @@
|
|||||||
<div name="wrap-and-align" class="text-settings-group">
|
<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>
|
<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">
|
<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 class="text-align-checkmark text-align-left"></span>
|
||||||
</span>
|
</span>
|
||||||
<span class="text-align-container">
|
<span class="text-align-container">
|
||||||
|
@ -667,6 +667,7 @@ body.high-contrast #control-overlay { background-color: var(--shade); }
|
|||||||
overflow: hidden auto;
|
overflow: hidden auto;
|
||||||
white-space: break-spaces;
|
white-space: break-spaces;
|
||||||
resize:none;
|
resize:none;
|
||||||
|
padding-top: .65ex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-align-container span {
|
.text-align-container span {
|
||||||
@ -714,4 +715,4 @@ input[name="wrap-by-space"] { margin-right: 5px; }
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
label[name="wrap-by-space-label"] { padding-right: 2%; }
|
label[name="wrap-by-space-label"] { padding-right: 2%; }
|
||||||
#text-font { height: 100%; }
|
#text-font { height: 100%; margin: 0px; }
|
Loading…
x
Reference in New Issue
Block a user