Can now preview current photo in species editor, styling changes to species editor
This commit is contained in:
1 parent
c518a03df5
commit
781e38ab49
2 files changed
+9
-5
No files matched your search
+5
-3
@@ -592,6 +592,8 @@ input:focus {
|
||||
|
||||
.form{
|
||||
width: 100%;
|
||||
flex-direction: row;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.form-section {
|
||||
@@ -685,12 +687,12 @@ input:focus {
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 25px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Labels */
|
||||
.form-group label {
|
||||
margin-bottom: 8px;
|
||||
margin-bottom: 5px;
|
||||
font-weight: 700;
|
||||
font-size: 1rem;
|
||||
}
|
||||
@@ -698,7 +700,7 @@ input:focus {
|
||||
/* Inputs + textarea */
|
||||
.form-group input,
|
||||
.form-group textarea {
|
||||
padding: 12px 15px;
|
||||
padding: 9px 12px;
|
||||
border-radius: 12px;
|
||||
border: 2px solid var(--secondary);
|
||||
background-color: var(--background);
|
||||
|
||||
@@ -52,7 +52,9 @@
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
<div class="container" style="height: fit-content; width:fit-content; text-align:center; max-width: 40%">
|
||||
<p> Current photo: </p>
|
||||
<img src="/images/species_database/{{ sp['photoid'] }}.jpg" style="width: 100%; height: auto; margin: auto">
|
||||
</div>
|
||||
</section>
|
||||
<img src="/images/species_database/{{ sp['photoid'] }}.jpg" style="width: 10%;">
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user