Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit d9ffa71

Browse files
authored
Merge pull request #2531 from patzick/bugfix/ui-improvements
Bugfix/ui improvements
2 parents 9cec3dc + 724732f commit d9ffa71

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

src/themes/default/components/core/ProductTile.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,14 +152,22 @@ $color-white: color(white);
152152
width: 100%;
153153
overflow: hidden;
154154
max-height: 300px;
155-
height: 270px;
155+
height: 100%;
156+
min-height: 155px;
156157
display: flex;
157158
align-items: flex-end;
158159
background-image: url('/assets/placeholder.svg');
159160
background-repeat: no-repeat;
160161
background-position: center;
161162
background-size: 60% auto;
162163
164+
@media (min-width: 768px) {
165+
min-height: 190px;
166+
}
167+
@media (min-width: 1200px) {
168+
min-height: 300px;
169+
}
170+
163171
&__content {
164172
display: none;
165173
}

src/themes/default/components/core/blocks/Form/BaseInputNumber.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="base-input-number">
3-
<label class="base-input-number__label flex" :for="getInputId">{{ name }}</label>
3+
<label class="base-input-number__label cl-primary flex" :for="getInputId">{{ name }}</label>
44
<input
55
:id="getInputId"
66
type="number"
@@ -69,13 +69,21 @@ export default {
6969
border-style: solid;
7070
border-width: 0 0 1px 0;
7171
width: 50px;
72-
height: 1.7rem;
72+
height: 1.4rem;
7373
line-height: 1.7rem;
74+
@media (min-width: 768px) {
75+
height: 1.7rem;
76+
}
7477
}
7578
7679
&__label {
77-
font-size: 14px;
80+
font-size: 0.8rem;
81+
line-height: 1.2rem;
7882
max-width: 100px;
83+
@media (min-width: 768px) {
84+
font-size: 1rem;
85+
line-height: 1.4rem;
86+
}
7987
}
8088
}
8189

0 commit comments

Comments
 (0)