buttons fit parents

master
Kostanjevec 2022-06-23 21:40:31 +02:00
parent 68e58ebb06
commit 530a5499f0
1 changed files with 5 additions and 2 deletions

View File

@ -10,9 +10,10 @@
<div style="background-color: blue; height: fit-content;" id="pdf-doc"></div>
</article>
<form method="post" style="position: fixed; bottom:0%; width: fill-available; width: -moz-available; width: -webkit-fill-available;">
<div style="position: fixed; bottom:0%; left:0%; width:100%">
<form method="post" style="max-width: 960px; margin: auto; padding: 0 1rem 1rem;">
<input type="hidden" name="card_id" value="{{ card['id'] }}">
<span style="display: inline;">
<span style="display: flex; justify-content: space-around;">
<button style="background-color: #736B1E" id="rbutton" type="submit" name="rate" value="Yes" accesskey="1">Yes</button> <!--ti keyi so alt+shit+key...-->
<button style="background-color: #ED8008;" id="rbutton" type="submit" name="rate" value="Maybe" accesskey="2">Maybe</button>
<button style="background-color: #ED3f1C;" id="rbutton" type="submit" name="rate" value="No" accesskey="3">No</button>
@ -21,6 +22,8 @@
</span>
</form>
</div>
<script type="text/javascript" src="{{ url_for('static', filename='js/pdf.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static', filename='js/pdf.worker.js') }}"></script>
<script type="text/javascript">