free-astro-components 1.0.2 → 1.0.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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A collection of free Astro components",
4
4
  "author": "Denis Ventura",
5
5
  "type": "module",
6
- "version": "1.0.2",
6
+ "version": "1.0.4",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": {
@@ -101,7 +101,6 @@ const sizeClasses = {
101
101
  display: flex;
102
102
  flex-direction: column;
103
103
  font-family: var(--ac-font-sans);
104
- height: auto;
105
104
  inset-block-end: 0;
106
105
  inset-block-start: auto;
107
106
  max-height: calc(100% - var(--ac-spacing-16));
@@ -189,6 +188,10 @@ const sizeClasses = {
189
188
  content: none;
190
189
  }
191
190
 
191
+ &.ac-modal--xs {
192
+ width: var(--ac-modal-width-xs);
193
+ }
194
+
192
195
  &.ac-modal--sm {
193
196
  width: var(--ac-modal-width-sm);
194
197
  }
@@ -13,7 +13,7 @@ const { class: className } = Astro.props
13
13
 
14
14
  <style>
15
15
  .ac-modal-body {
16
- flex: 1 1 0%;
16
+ flex: 1 1 auto;
17
17
  overflow-y: auto;
18
18
  padding: var(--ac-spacing-4) var(--ac-spacing-6);
19
19
  }