ublo-lib 1.1.5 → 1.1.6

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.
@@ -1,6 +1,5 @@
1
1
  .filters {
2
2
  width: 100%;
3
- max-width: 1100px;
4
3
  display: flex;
5
4
  justify-content: center;
6
5
  flex-wrap: wrap;
@@ -98,11 +98,13 @@ const MagicBox = ({
98
98
  filters: filters,
99
99
  values: values,
100
100
  setValues: setValues
101
- }), _jsxs(Button, {
102
- className: css.confirm,
103
- onClick: () => setCurrentStep(1),
104
- disabled: !isValid,
105
- children: [message(lang, "confirm"), _jsx(Icons.Search, {})]
101
+ }), _jsx("div", {
102
+ className: css.bottom,
103
+ children: _jsxs(Button, {
104
+ onClick: () => setCurrentStep(1),
105
+ disabled: !isValid,
106
+ children: [message(lang, "confirm"), _jsx(Icons.Search, {})]
107
+ })
106
108
  })]
107
109
  }), currentStep === 1 && _jsx(Booking, {
108
110
  stay: stay,
@@ -5,9 +5,12 @@
5
5
  }
6
6
 
7
7
  .top {
8
- padding: 50px 0;
8
+ width: 100%;
9
+ max-width: 1100px;
9
10
  display: flex;
10
11
  flex-direction: column;
12
+ margin: 0 auto;
13
+ padding: 50px 0;
11
14
  background-color: var(--ds-grey-200, #efefef);
12
15
  }
13
16
  @media (min-width: 992px) {
@@ -34,14 +37,18 @@
34
37
  }
35
38
  }
36
39
 
37
- .confirm {
40
+ .bottom {
41
+ width: 100%;
42
+ max-width: 1100px;
43
+ display: flex;
44
+ justify-content: center;
38
45
  margin: 0 auto;
39
46
  }
40
47
 
41
- [data-align="left"] .confirm {
42
- margin: 0 auto 0 0;
48
+ [data-align="left"] .bottom {
49
+ justify-content: flex-start;
43
50
  }
44
51
 
45
- [data-align="right"] .confirm {
46
- margin: 0 0 0 auto;
52
+ [data-align="right"] .bottom {
53
+ justify-content: flex-end;
47
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^2.1.0",
6
6
  "next": "^12.0.0",