mirror of
https://github.com/NaitLee/Cat-Printer.git
synced 2025-05-17 15:50:11 -07:00
* Moved style to CSS
This commit is contained in:
parent
de2e4e518b
commit
e163c5739f
@ -179,11 +179,11 @@
|
||||
<div id="text-input">
|
||||
<h1 data-i18n="insert-text">Insert Text</h1>
|
||||
<span>
|
||||
<div style="display: inline-grid;position: relative;margin: auto 0;">
|
||||
<textarea id="insert-text-area" style="white-space: pre; height: 50vh;"></textarea>
|
||||
<div id="text-textarea">
|
||||
<textarea id="insert-text-area"></textarea>
|
||||
</div>
|
||||
|
||||
<div style="display: inline-block;vertical-align: top;margin: auto;position: absolute; padding: 0px 0px 0px 10px;">
|
||||
<div id="text-settings">
|
||||
<label data-i18n="text-font">Font</label>
|
||||
<select id="text-font">
|
||||
<option value="Serif">Serif</option>
|
||||
|
@ -660,3 +660,12 @@ body.high-contrast #control-overlay { background-color: var(--shade); }
|
||||
font-family: 'Unifont';
|
||||
src: local('Unifont') url('unifont.ttf') url('unifont.otf');
|
||||
}
|
||||
#insert-text-area { white-space: pre; height: 50vh; }
|
||||
#text-textarea { display: inline-grid;position: relative;margin: auto 0; }
|
||||
#text-settings {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: auto;
|
||||
position: absolute;
|
||||
padding: 0px 0px 0px 10px;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user