Skip to content

Commit

Permalink
Merge pull request #70 from infinum/feature/wrapper-width---auto
Browse files Browse the repository at this point in the history
Feature - wrapperContentWidth: "auto"
  • Loading branch information
piqusy authored Dec 5, 2024
2 parents ba5a429 + 1877c1e commit 3407b33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
### Changed
- Fixed Image component "image" part tailwind class output if not set.
- Fix Image component responsive output Co-authored-by: goran.alkovic@infinum.com
- Add "Auto" width to wrapperContent and set is as defaults
- Updated dependencies.

## [1.4.6]
Expand Down
8 changes: 7 additions & 1 deletion blocks/init/src/Blocks/wrapper/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"wrapperContentWidth": {
"type": "object",
"default": {
"_default": "full",
"_default": "auto",
"_desktopFirst": true
}
},
Expand Down Expand Up @@ -289,6 +289,11 @@
}
],
"wrapperContentWidth": [
{
"label": "Auto",
"value": "auto",
"separator": "below"
},
{
"label": "Full",
"value": "full",
Expand Down Expand Up @@ -439,6 +444,7 @@
"wrapperContentWidth": {
"responsive": true,
"twClasses": {
"auto": "w-auto",
"full": "w-full",
"half": "w-1/2",
"one-third": "w-1/3",
Expand Down

0 comments on commit 3407b33

Please sign in to comment.