Skip to content

Commit 8870496

Browse files
chore(dimensions): tip for respnsive design
1 parent 9b48770 commit 8870496

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common-features/dimensions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ When setting **percentage values** (such as `100%` or `50%`), keep in mind the f
2222

2323
When setting **percentage dimensions** to elements with **special positioning** (such as `Width` of a Window or the `PopupWidth` of a dropdown), their parent element in the DOM determines the rendered size.
2424

25+
>tip You can use dimensions in percent (such as `Width="100%"`) to make the components responsive - so they will fit in your layout and let the layout adjust with viewport sizes or other application logic.
26+
2527
## Examples
2628

2729
The examples here showcase different units and examples of using them to set dimensions and positions. The results you get may vary from the screenshots here because of different CSS rules in your project and different browser/screen sizes. Review the explanations in the code for more details on what to expect.

0 commit comments

Comments
 (0)