@bytebrand/fe-ui-core 4.1.96 → 4.1.98

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.96",
3
+ "version": "4.1.98",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -2,15 +2,13 @@
2
2
 
3
3
  .infoSection
4
4
  position: relative
5
- display: flex
6
5
  align-items: center;
7
6
  box-sizing: border-box
8
- padding: 7px 6px;
9
-
10
- +media-phone-only()
11
- display: block
12
- padding: 10px 30px 10px 10px
13
-
7
+ display: block
8
+ padding: 10px 30px 10px 16px
9
+ +media-tablet-landscape-up()
10
+ padding: 7px 6px;
11
+ display: flex
14
12
  &.infoSectionSearch
15
13
  +media-tablet-landscape-up()
16
14
  padding 0;
@@ -24,7 +24,7 @@ const VehicleTitle: React.FC<IVehicleTitleProps> = ({
24
24
 
25
25
  const infoSectionClassName = classnames(
26
26
  styles.infoSection,
27
- { [styles.infoSectionSearch]: vehicleComponentName === 'search' || vehicleComponentName === 'favorite' },
27
+ { [styles.infoSectionSearch]: vehicleComponentName === 'search' },
28
28
  { [styles.infoSectionMyVehicles]: vehicleComponentName === 'myVehicles' }
29
29
  );
30
30
 
@@ -29,7 +29,7 @@ export const Theme = createTheme({
29
29
  MuiMenuItem: {
30
30
  styleOverrides: {
31
31
  root: {
32
- padding: '0 6px'
32
+ padding: '6px'
33
33
  }
34
34
  }
35
35
  },
@@ -1,4 +1,3 @@
1
- @import '../../../theme/theme.styl'
2
1
  @import '../../../theme/mixins.styl'
3
2
 
4
3
  $xs-height = 24px
@@ -18,11 +17,14 @@ $indent = 10px
18
17
  flex-wrap: wrap
19
18
  justify-content: flex-start
20
19
  font-size: $font-size-default
21
- padding: 0 $indent
20
+ padding: 0 16px
22
21
  box-sizing: border-box;
23
22
  gap: 0.6em;
24
23
  user-select: none;
25
24
 
25
+ +media-tablet-landscape-up()
26
+ padding: 0 $indent
27
+
26
28
  &::after
27
29
  position: absolute;
28
30
  width: calc(100% - 20px);
@@ -128,14 +130,17 @@ $indent = 10px
128
130
 
129
131
  .topWrapper
130
132
  position: absolute
131
- left: 10px
132
- right: 10px
133
+ left: 16px
134
+ right: 16px
133
135
  top: 5px
134
136
  user-select: none
135
137
  z-index: 1
136
138
  display: flex;
137
139
  gap: 10px;
138
140
 
141
+ +media-tablet-landscape-up()
142
+ left: 10px
143
+ right: 10px
139
144
 
140
145
  .priceDifferencePerCent
141
146
  margin-left: auto;