Commit b531d53
authored
InfoBox width Prop (#1373)
## Description
<!-- Please provide a brief description of the changes made in this pull request. Include any relevant context or reasoning for the changes. -->
Simple PR to add a `width` prop to the infobox container.
Occasionally I find that I want the infobox to fill the available space, rather than fit to content. Currently this is not possible. The work around is to wrap in a div/blockstack with `width-full`. This change allows for such scenarios in future.
## Related Issue and Pull requests
<!-- Link to any related issues using the format #<issue-number> -->
## Type of Change
<!-- Please delete options that are not relevant -->
- [x] Improvement
## Checklist
<!-- Please ensure the following are completed before submitting the PR -->
- [ ] I have tested this does not break current pipelines / runs functionality
- [ ] I have tested the changes on staging
## Screenshots (if applicable)
<!-- Include any screenshots that might help explain the changes or provide visual context -->
## Test Instructions
<!-- Detail steps and prerequisites for testing the changes in this PR -->
## Additional Comments
<!-- Add any additional context or information that reviewers might need to know regarding this PR -->1 parent 197781c commit b531d53
File tree
1 file changed
+11
-1
lines changed1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
38 | 45 | | |
39 | 46 | | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
44 | 52 | | |
| 53 | + | |
| 54 | + | |
45 | 55 | | |
46 | | - | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
| |||
0 commit comments