small ui improvements

- fix width for pure html mode
- improve copy button look and placement
- make input field heights more consistent on pasta creation page
This commit is contained in:
Dániel Szabó 2022-10-27 14:12:11 +03:00
parent e258bcc2bd
commit d2e7234d96
4 changed files with 2172 additions and 81 deletions

View file

@ -63,7 +63,9 @@
<div>
<label>File attachment</label>
<br>
<input style="width: 100%;" type="file" id="file" name="file">
<div id="input-bg">
<input style="width: 100%;" type="file" id="file" name="file">
</div>
</div>
{% endif %}
</div>
@ -90,12 +92,33 @@
</div>
{% if args.readonly %}
<input style="width: 140px; background-color: limegreen" disabled type="submit" value="Read Only"/>
<input style="width: 140px; background-color: limegreen" disabled type="submit" value="Read Only" />
{%- else %}
<input style="width: 140px; background-color: limegreen" type="submit" value="Save"/>
<input style="width: 140px; background-color: limegreen" type="submit" value="Save" />
{%- endif %}
</td>
<br>
</form>
{% include "footer.html" %}
<style>
select {
height: 3rem;
}
#file {
/* max-height: 22px; */
padding-top: 7px;
padding-bottom: 13px;
background: none;
}
#input-bg {
background: var(--background);
overflow: hidden;
height: 3rem;
border-radius: 6px;
}
</style>
{% include "footer.html" %}