@proprioo/salatim 23.5.3 → 23.5.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Changelog
2
2
 
3
+ **23.5.4**
4
+
5
+ * Fix: Row can't be single
6
+
3
7
  **23.5.3**
4
8
 
5
9
  * Fix: handle empty address on <OfferSignatoryForm/>
package/lib/index.js CHANGED
@@ -91,20 +91,17 @@
91
91
  flex-direction: column;
92
92
 
93
93
  & > * {
94
- width: 100%;
95
-
96
94
  &:not(:first-child) {
97
95
  margin-top: ${oe(24)};
98
96
  }
99
97
  }
100
98
 
101
- @media (min-width: ${m.base}px) {
99
+ & > & {
102
100
  flex-direction: row;
101
+ margin-bottom: 0;
103
102
 
104
103
  & > * {
105
- &:not(:only-child) {
106
- width: calc(50% - ${oe(12)});
107
- }
104
+ width: calc(50% - ${oe(4)});
108
105
 
109
106
  &:not(:first-child) {
110
107
  margin-top: 0;
@@ -112,14 +109,11 @@
112
109
  }
113
110
  }
114
111
 
115
- & > & {
112
+ @media (min-width: ${m.base}px) {
116
113
  flex-direction: row;
117
- margin-bottom: 0;
118
114
 
119
115
  & > * {
120
- &:not(:only-child) {
121
- width: calc(50% - ${oe(4)});
122
- }
116
+ width: calc(50% - ${oe(12)});
123
117
 
124
118
  &:not(:first-child) {
125
119
  margin-top: 0;