mirror of
https://github.com/pretix/pretix.git
synced 2026-04-25 23:42:32 +00:00
Compare commits
3 Commits
error-page
...
v4.18.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5b483a9c6 | ||
|
|
815ddb7271 | ||
|
|
b6a5549a4c |
@@ -19,4 +19,4 @@
|
|||||||
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
|
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
|
||||||
# <https://www.gnu.org/licenses/>.
|
# <https://www.gnu.org/licenses/>.
|
||||||
#
|
#
|
||||||
__version__ = "4.18.0"
|
__version__ = "4.18.1"
|
||||||
|
|||||||
@@ -499,6 +499,9 @@ Vue.component('item', {
|
|||||||
mounted: function () {
|
mounted: function () {
|
||||||
if (this.$refs.variations) {
|
if (this.$refs.variations) {
|
||||||
this.$refs.variations.hidden = !this.expanded;
|
this.$refs.variations.hidden = !this.expanded;
|
||||||
|
if (!this.expanded) {
|
||||||
|
this.$refs.variations.style.maxHeight = '0px';
|
||||||
|
}
|
||||||
this.$refs.variations.addEventListener('transitionend', function (event) {
|
this.$refs.variations.addEventListener('transitionend', function (event) {
|
||||||
if (this.style.maxHeight && this.style.maxHeight != '0px') {
|
if (this.style.maxHeight && this.style.maxHeight != '0px') {
|
||||||
this.style.maxHeight = 'none';
|
this.style.maxHeight = 'none';
|
||||||
|
|||||||
@@ -373,7 +373,6 @@
|
|||||||
|
|
||||||
.pretix-widget-item-variations {
|
.pretix-widget-item-variations {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-height: 0;
|
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user