@bytebrand/fe-ui-core 4.1.40 → 4.1.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.styl +6 -0
- package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx +1 -0
- package/source/components/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.styl +1 -16
- package/source/components/VehicleSmallCard/VehicleData/VehicleInfo/VehicleInfo.tsx +1 -1
- package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.styl +10 -1
- package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.tsx +1 -1
- package/source/components/VehicleSmallCard/VehicleSmallCard.styl +6 -2
package/package.json
CHANGED
package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx
CHANGED
|
@@ -66,6 +66,7 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
|
|
|
66
66
|
|
|
67
67
|
const stylesItem = classnames(
|
|
68
68
|
styles.priceItem,
|
|
69
|
+
{ [styles.priceItemFavorite]: vehicleComponentName === 'favorite' },
|
|
69
70
|
{ [styles.priceItemDisable]: isPriceDisable },
|
|
70
71
|
{ [styles.priceItemBuy]: isTotal },
|
|
71
72
|
);
|
|
@@ -153,29 +153,14 @@
|
|
|
153
153
|
max-width: 25%;
|
|
154
154
|
|
|
155
155
|
&.vehiclePropertiesFavorite
|
|
156
|
-
grid-template-columns: 1fr
|
|
156
|
+
grid-template-columns: 1fr;
|
|
157
157
|
display: grid;
|
|
158
158
|
grid-auto-rows: 44px;
|
|
159
159
|
|
|
160
160
|
& > .consumptionCombined
|
|
161
161
|
white-space: pre-line;
|
|
162
|
-
grid-column: 1 / span 2;
|
|
163
162
|
grid-row: 4;
|
|
164
163
|
|
|
165
|
-
& > .location
|
|
166
|
-
grid-column: 1 / span 2;
|
|
167
|
-
|
|
168
|
-
+media-tablet-landscape-up()
|
|
169
|
-
height: 30px;
|
|
170
|
-
margin-top: auto;
|
|
171
|
-
border: none;
|
|
172
|
-
|
|
173
|
-
& > div:last-of-type
|
|
174
|
-
grid-column: 1 / span 2;
|
|
175
|
-
|
|
176
|
-
&::after
|
|
177
|
-
height: calc(100% - 20px);
|
|
178
|
-
|
|
179
164
|
+media-tablet-landscape-up()
|
|
180
165
|
grid-template-columns: 1fr 1fr 1fr;
|
|
181
166
|
margin-top: -13px;
|
|
@@ -119,7 +119,7 @@ const VehicleInfo: React.FC<IVehicleInfoProps> = (props) => {
|
|
|
119
119
|
{vehicleComponentName === 'favorite' ? (
|
|
120
120
|
<>
|
|
121
121
|
<Visible xs sm md>
|
|
122
|
-
{renderProperty(
|
|
122
|
+
{renderProperty(getMainPropertiesForComparableCars)}
|
|
123
123
|
</Visible>
|
|
124
124
|
<Hidden xs sm md>
|
|
125
125
|
{renderProperty(getMainPropertiesForFavorite, vehicleComponentName)}
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
border-left: 1px solid $grey-d
|
|
20
20
|
|
|
21
21
|
&.vehiclePriceSectionFavorite
|
|
22
|
+
padding: 0 10px 0 10px
|
|
22
23
|
+media-tablet-landscape-up()
|
|
23
24
|
flex-shrink: 0;
|
|
24
25
|
padding: 0 5px 0 15px;
|
|
@@ -69,7 +70,13 @@
|
|
|
69
70
|
.wrapHandleCompare
|
|
70
71
|
display: flex;
|
|
71
72
|
gap: 8px;
|
|
72
|
-
|
|
73
|
+
border-top: 1px solid $grey-d3;
|
|
74
|
+
padding-top: 15px;
|
|
75
|
+
|
|
76
|
+
+media-tablet-landscape-up()
|
|
77
|
+
margin-top: 20px;
|
|
78
|
+
padding-top: 0;
|
|
79
|
+
border: none;
|
|
73
80
|
|
|
74
81
|
.btnCompareRemove
|
|
75
82
|
min-width: 50px !important;
|
|
@@ -82,6 +89,8 @@
|
|
|
82
89
|
align-items: center;
|
|
83
90
|
text-transform uppercase !important
|
|
84
91
|
width: 100%;
|
|
92
|
+
min-width: auto !important;
|
|
93
|
+
max-width: 100% !important;
|
|
85
94
|
|
|
86
95
|
.btnPlusIcon
|
|
87
96
|
font-size: 26px;
|
|
@@ -241,7 +241,7 @@ class VehiclePrice extends React.Component<IVehiclePriceSectionProps> {
|
|
|
241
241
|
</Button>
|
|
242
242
|
<Button className={styles.btnCarToCompare} variant='outlined' onClick={toggleCarToCompare}>
|
|
243
243
|
<span className={styles.btnPlusIcon}>{!toCompare ? '+' : '-'}</span>
|
|
244
|
-
<span className={styles.btnText}>{t('FavoritesPage:
|
|
244
|
+
<span className={styles.btnText}>{t('FavoritesPage:compare')}</span>
|
|
245
245
|
</Button>
|
|
246
246
|
</div>
|
|
247
247
|
)}
|
|
@@ -78,8 +78,12 @@
|
|
|
78
78
|
'image image'\
|
|
79
79
|
'info price'\
|
|
80
80
|
'seoText seoText'
|
|
81
|
-
grid-template-columns:
|
|
82
|
-
border
|
|
81
|
+
grid-template-columns: 155px 1fr;
|
|
82
|
+
border: 1px solid $grey-e;
|
|
83
|
+
border-radius: 10px;
|
|
84
|
+
// border-bottom: 6px solid $skyBlue;
|
|
85
|
+
margin: 10px;
|
|
86
|
+
padding-bottom: 15px;
|
|
83
87
|
+media-tablet-landscape-up()
|
|
84
88
|
border: 1px solid $grey-e;
|
|
85
89
|
padding: 10px;
|