@bytebrand/fe-ui-core 4.1.226 → 4.1.227

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.1.226",
3
+ "version": "4.1.227",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -69,7 +69,6 @@
69
69
 
70
70
  & > .consumptionCombined
71
71
  white-space: pre-line;
72
- grid-column: 1 / span 2;
73
72
  grid-row: 4;
74
73
 
75
74
  +media-tablet-landscape-up()
@@ -129,6 +129,33 @@
129
129
  padding-bottom: 15px;
130
130
  margin-bottom: 0;
131
131
 
132
+ &.vehicleWrapMain
133
+ box-sizing: border-box;
134
+ grid-template-areas:
135
+ 'title title'\
136
+ 'image image'\
137
+ 'info price'\
138
+ 'seoText seoText'
139
+ grid-template-columns: 55% 45%;
140
+ border: 1px solid #DFDFDF;
141
+ margin-bottom: 5px;
142
+ border-radius: 10px;
143
+ padding-bottom: 8px;
144
+
145
+ & [class*='withStats__topWrapper']
146
+ left: 16px;
147
+ right: 16px;
148
+
149
+ & [class*='withStats__controls']
150
+ padding: 0 16px;
151
+
152
+ +media-tablet-landscape-up()
153
+ grid-template-columns: 120px 1fr;
154
+ border: 1px solid rgba(76, 78, 100, 0.12);
155
+ border-radius: 10px;
156
+ padding-bottom: 15px;
157
+ margin-bottom: 0;
158
+
132
159
  &.vehicleWrapMyVeicles
133
160
  grid-template-areas:
134
161
  'title title'\
@@ -158,7 +158,8 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
158
158
 
159
159
  const wrapperClassName = classnames(
160
160
  styles.vehicle,
161
- { [styles.vehicleWrapLanding]: vehicleComponentName === 'landing' || vehicleComponentName === 'main' },
161
+ { [styles.vehicleWrapLanding]: vehicleComponentName === 'landing' },
162
+ { [styles.vehicleWrapMain]: vehicleComponentName === 'main' },
162
163
  { [styles.vehicleWrapSearch]: vehicleComponentName === 'search' },
163
164
  { [styles.vehicleWrapComparable]: vehicleComponentName === 'comparable' },
164
165
  { [styles.vehicleWrapMyVeicles]: vehicleComponentName === 'myVehicles' },