Merge pull request #1094 from openclassify/dia

#4154 usd are design edit
This commit is contained in:
Muammer Top 2021-06-14 18:04:51 +03:00 committed by GitHub
commit 363c97f731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -207,6 +207,7 @@ label {
} }
&:first-child { &:first-child {
width: 100%;
@media only screen and (min-width: 576px) { @media only screen and (min-width: 576px) {
width: 47.5%; width: 47.5%;
} }
@ -219,6 +220,7 @@ label {
} }
&:last-child { &:last-child {
width: 100%;
@media only screen and (min-width: 576px) { @media only screen and (min-width: 576px) {
width: 50.75%; width: 50.75%;
} }

View File

@ -123,9 +123,9 @@
</div> </div>
<div class="d-flex"> <div class="d-flex">
<span class="w-100 {{ HideStandardPrice }}"> <div class="d-flex flex-fill {{ HideStandardPrice }}">
{% set standardPriceValue = form.fields.standard_price.value|split('.') %} {% set standardPriceValue = form.fields.standard_price.value|split('.') %}
<input class="mt-3 border-0 text-right standard-price-field whole-price flex-fill w-100" <input class="mt-3 border-0 text-right standard-price-field whole-price flex-fill"
placeholder="0" value="{{ standardPriceValue|first }}" placeholder="0" value="{{ standardPriceValue|first }}"
type="text"> type="text">
{% if setting_value('visiosoft.field_type.decimal::showDecimal') %} {% if setting_value('visiosoft.field_type.decimal::showDecimal') %}
@ -134,7 +134,7 @@
value="{{ standardPriceValue[1] }}" value="{{ standardPriceValue[1] }}"
maxlength="2"> maxlength="2">
{% endif %} {% endif %}
</span> </div>
<select name="currency" class="mt-3 border-0 ml-2" id="currency" required> <select name="currency" class="mt-3 border-0 ml-2" id="currency" required>
{% for currency in config_get('streams::currencies.enabled') %} {% for currency in config_get('streams::currencies.enabled') %}
<option value="{{ currency }}"> <option value="{{ currency }}">