mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-07 02:10:03 +00:00
Resolve "The sort choose field context doesn't have a hover effect anymore"
This commit is contained in:
parent
f485a89997
commit
a823bcd26d
4 changed files with 36 additions and 31 deletions
|
@ -8,6 +8,6 @@ ipython==7.13.0
|
||||||
Faker==4.0.2
|
Faker==4.0.2
|
||||||
gunicorn==20.0.4
|
gunicorn==20.0.4
|
||||||
django-mjml==0.9.0
|
django-mjml==0.9.0
|
||||||
requests==2.23.0
|
requests==2.25.0
|
||||||
itsdangerous==1.1.0
|
itsdangerous==1.1.0
|
||||||
drf-spectacular==0.9.12
|
drf-spectacular==0.9.12
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
* Added community chat to the readme.
|
* Added community chat to the readme.
|
||||||
* Made the cookies strict and secure.
|
* Made the cookies strict and secure.
|
||||||
* Removed the redundant _DOMAIN variables.
|
* Removed the redundant _DOMAIN variables.
|
||||||
|
* Fixed bug where the sort choose field item didn't have a hover effect.
|
||||||
|
|
||||||
## Released (2020-11-02)
|
## Released (2020-11-02)
|
||||||
|
|
||||||
|
|
|
@ -126,3 +126,12 @@
|
||||||
color: $color-primary-900;
|
color: $color-primary-900;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sortings__add-context {
|
||||||
|
max-height: 32 * 4 + 20px;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.context__menu-icon {
|
||||||
|
color: $color-primary-900;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -118,36 +118,31 @@
|
||||||
<i class="fas fa-plus"></i>
|
<i class="fas fa-plus"></i>
|
||||||
choose a field to sort by
|
choose a field to sort by
|
||||||
</a>
|
</a>
|
||||||
<Context ref="addContext">
|
<Context ref="addContext" class="sortings__add-context">
|
||||||
<div class="dropdown dropdown--floating">
|
<ul ref="items" class="context__menu">
|
||||||
<div class="dropdown__items">
|
<li v-show="isFieldAvailable(primary)">
|
||||||
<ul ref="items" class="select__items">
|
<a @click="addSort(primary)">
|
||||||
<li v-show="isFieldAvailable(primary)" class="select__item">
|
<i
|
||||||
<a class="select__item-link" @click="addSort(primary)">
|
class="context__menu-icon fas fa-fw"
|
||||||
<i
|
:class="'fa-' + primary._.type.iconClass"
|
||||||
class="select__item-icon fas fa-fw"
|
></i>
|
||||||
:class="'fa-' + primary._.type.iconClass"
|
{{ primary.name }}
|
||||||
></i>
|
</a>
|
||||||
{{ primary.name }}
|
</li>
|
||||||
</a>
|
<li
|
||||||
</li>
|
v-for="field in fields"
|
||||||
<li
|
v-show="isFieldAvailable(field)"
|
||||||
v-for="field in fields"
|
:key="field.id"
|
||||||
v-show="isFieldAvailable(field)"
|
>
|
||||||
:key="field.id"
|
<a @click="addSort(field)">
|
||||||
class="select__item"
|
<i
|
||||||
>
|
class="context__menu-icon fas fa-fw"
|
||||||
<a class="select__item-link" @click="addSort(field)">
|
:class="'fa-' + field._.type.iconClass"
|
||||||
<i
|
></i>
|
||||||
class="select__item-icon fas fa-fw"
|
{{ field.name }}
|
||||||
:class="'fa-' + field._.type.iconClass"
|
</a>
|
||||||
></i>
|
</li>
|
||||||
{{ field.name }}
|
</ul>
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Context>
|
</Context>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue