@proprioo/salatim 23.5.0 → 23.5.1

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.1**
4
+
5
+ * Fix: Row can be single
6
+
3
7
  **23.5.0**
4
8
 
5
9
  * Feat: add custom errors to <OfferSignatoryForm/>
package/lib/index.js CHANGED
@@ -91,6 +91,8 @@
91
91
  flex-direction: column;
92
92
 
93
93
  & > * {
94
+ width: 100%;
95
+
94
96
  &:not(:first-child) {
95
97
  margin-top: ${oe(24)};
96
98
  }
@@ -100,7 +102,10 @@
100
102
  flex-direction: row;
101
103
 
102
104
  & > * {
103
- width: calc(50% - ${oe(12)});
105
+ &:not(:only-child) {
106
+ width: calc(50% - ${oe(12)});
107
+ }
108
+
104
109
  &:not(:first-child) {
105
110
  margin-top: 0;
106
111
  }
@@ -108,11 +113,14 @@
108
113
  }
109
114
 
110
115
  & > & {
111
- margin-bottom: 0;
112
116
  flex-direction: row;
117
+ margin-bottom: 0;
113
118
 
114
119
  & > * {
115
- width: calc(50% - ${oe(4)});
120
+ &:not(:only-child) {
121
+ width: calc(50% - ${oe(4)});
122
+ }
123
+
116
124
  &:not(:first-child) {
117
125
  margin-top: 0;
118
126
  }