@kosdev-code/kos-ddk-components 0.1.0-dev.90 → 0.1.0-dev.92
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/index.js
CHANGED
|
@@ -5167,6 +5167,10 @@ const useFitTitle = () => {
|
|
|
5167
5167
|
}, [fit]);
|
|
5168
5168
|
return ref;
|
|
5169
5169
|
};
|
|
5170
|
+
const SPAN_WITHOUT_SIZING = `
|
|
5171
|
+
width: 0;
|
|
5172
|
+
min-width: 100%;
|
|
5173
|
+
`;
|
|
5170
5174
|
const CardBody = styled.div`
|
|
5171
5175
|
align-items: center;
|
|
5172
5176
|
grid-area: body;
|
|
@@ -5174,13 +5178,16 @@ const CardBody = styled.div`
|
|
|
5174
5178
|
gap: 8px;
|
|
5175
5179
|
min-height: 0;
|
|
5176
5180
|
flex: 1;
|
|
5181
|
+
${SPAN_WITHOUT_SIZING}
|
|
5177
5182
|
`;
|
|
5178
5183
|
const CardFooter = styled.div`
|
|
5179
|
-
align-items: center;
|
|
5180
5184
|
grid-area: footer;
|
|
5181
|
-
display:
|
|
5185
|
+
display: -webkit-box;
|
|
5186
|
+
-webkit-box-orient: vertical;
|
|
5187
|
+
-webkit-line-clamp: 2;
|
|
5188
|
+
overflow: hidden;
|
|
5182
5189
|
font-size: 14px;
|
|
5183
|
-
|
|
5190
|
+
${SPAN_WITHOUT_SIZING}
|
|
5184
5191
|
`;
|
|
5185
5192
|
const CardErrors = styled.div`
|
|
5186
5193
|
display: flex;
|