redistribusi button in flex with correct sticky
This commit is contained in:
parent
c435250a61
commit
955e29e19d
@ -1,15 +1,25 @@
|
|||||||
|
#describe_workflow {
|
||||||
|
display: flex;
|
||||||
|
width: 60em;
|
||||||
|
margin:0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.redistribusi {
|
.redistribusi {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
position: -webkit-sticky; /* Safari */
|
top: 2em;
|
||||||
top: 1em;
|
margin-top: 2em;
|
||||||
|
margin-left: 1em;
|
||||||
width: 15em;
|
width: 15em;
|
||||||
|
height: 10em;
|
||||||
border-style: outset;
|
border-style: outset;
|
||||||
|
float: right;
|
||||||
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.distribusi_file {
|
.distribusi_file {
|
||||||
margin-top: 1em;
|
margin-top: 2em;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
width: 45em;
|
width: 42em;
|
||||||
background-color:#fdfdfd;
|
background-color:#fdfdfd;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
|
@ -26,10 +26,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="mainworkflow">
|
<div id="describe_workflow">
|
||||||
{% block redistribusi %}
|
|
||||||
{% include "redistribusi.html" %}
|
|
||||||
{% endblock redistribusi%}
|
|
||||||
<div class="distribusi_files">
|
<div class="distribusi_files">
|
||||||
{% for id, describe_form in distribusi_file_forms.items() %}
|
{% for id, describe_form in distribusi_file_forms.items() %}
|
||||||
<div class="distribusi_file">
|
<div class="distribusi_file">
|
||||||
@ -73,6 +70,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor%}
|
{% endfor%}
|
||||||
</div>
|
</div>
|
||||||
|
{% block redistribusi %}
|
||||||
|
{% include "redistribusi.html" %}
|
||||||
|
{% endblock redistribusi%}
|
||||||
</div>
|
</div>
|
||||||
<link rel="stylesheet" type="text/css" href="{{ url_for('describer.static', filename='css/describer.css')}}">
|
<link rel="stylesheet" type="text/css" href="{{ url_for('describer.static', filename='css/describer.css')}}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
<form id={{distribusiname}} method="POST" enctype="multipart/form-data" action="{{ url_for('describer.re_distribusi_files', distribusiname=distribusiname) }}">
|
<form id={{distribusiname}} method="POST" enctype="multipart/form-data" action="{{ url_for('describer.re_distribusi_files', distribusiname=distribusiname) }}">
|
||||||
{{ redistribusi_form.csrf_token }}
|
{{ redistribusi_form.csrf_token }}
|
||||||
<fieldset class="">
|
<fieldset class="">
|
||||||
{{ redistribusi_form.submit.label }}
|
|
||||||
{{ redistribusi_form.submit }}
|
{{ redistribusi_form.submit }}
|
||||||
{% for message in redistribusi_form.submit.errors %}
|
{% for message in redistribusi_form.submit.errors %}
|
||||||
<div class="error">{{ message }}</div>
|
<div class="error">{{ message }}</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user