|
53 | 53 |
|
54 | 54 | <DemoExample Title="Responsive" RazorCode="@example3RazorCode" Id="example3"> |
55 | 55 | <div>Rendering the callout in responsive mode on small screens.</div><br /> |
56 | | - <BitDropMenu Text="Responsive" Responsive ScrollContainerId="sc-con" PanelPosition="BitPanelPosition.Start"> |
57 | | - <div style="max-width:200px;overflow:auto" id="sc-con"> |
58 | | - <BitStack Gap="1rem" Style="padding:0.5rem"> |
| 56 | + |
| 57 | + <BitDropMenu Text="Responsive" Responsive ScrollContainerId="sc-con1" PanelPosition="BitPanelPosition.End"> |
| 58 | + <div style="max-width:200px;overflow:auto" id="sc-con1"> |
| 59 | + <BitStack FitWidth Gap="1rem" Style="padding:0.5rem"> |
| 60 | + <BitText Typography="BitTypography.Subtitle1" NoWrap>This is the content This is the content This is the content</BitText> |
| 61 | + <BitText Typography="BitTypography.Subtitle1" NoWrap>This is the content</BitText> |
| 62 | + <BitText Typography="BitTypography.Subtitle1" NoWrap>This is the content</BitText> |
| 63 | + <BitText Typography="BitTypography.Subtitle1" NoWrap>This is the content</BitText> |
| 64 | + </BitStack> |
| 65 | + </div> |
| 66 | + </BitDropMenu> |
| 67 | + |
| 68 | + <br /><br /> |
| 69 | + |
| 70 | + <BitDropMenu Text="Responsive" Responsive ScrollContainerId="sc-con2" PanelPosition="BitPanelPosition.Start"> |
| 71 | + <div style="max-width:200px;overflow:auto" id="sc-con2"> |
| 72 | + <BitStack FitWidth Gap="1rem" Style="padding:0.5rem"> |
59 | 73 | <BitText Typography="BitTypography.Subtitle1" NoWrap>This is the content This is the content This is the content</BitText> |
60 | 74 | <BitText Typography="BitTypography.Subtitle1" NoWrap>This is the content</BitText> |
61 | 75 | <BitText Typography="BitTypography.Subtitle1" NoWrap>This is the content</BitText> |
|
142 | 156 | </BitStack> |
143 | 157 | </BitDropMenu> |
144 | 158 | <br /> |
145 | | - @* <BitDropMenu Text="ریسپانسیو منو" Dir="BitDir.Rtl" Responsive ScrollContainerId="sc-con-rtl"> |
146 | | - <div style="max-width:200px;overflow:auto" id="sc-con-rtl"> |
| 159 | + <BitDropMenu Text="ریسپانسیو منو" Dir="BitDir.Rtl" Responsive ScrollContainerId="sc-con-rtl1"> |
| 160 | + <div style="max-width:200px;overflow:auto" id="sc-con-rtl1"> |
| 161 | + <BitStack Gap="1rem" Style="padding:0.5rem"> |
| 162 | + <BitText Typography="BitTypography.Subtitle1" NoWrap>این یک محتوای تستی می باشد این یک محتوای تستی می باشد این یک محتوای تستی می باشد</BitText> |
| 163 | + <BitText Typography="BitTypography.Subtitle1" NoWrap>این یک محتوای تستی می باشد</BitText> |
| 164 | + <BitText Typography="BitTypography.Subtitle1" NoWrap>این یک محتوای تستی می باشد</BitText> |
| 165 | + </BitStack> |
| 166 | + </div> |
| 167 | + </BitDropMenu> |
| 168 | + <br /> |
| 169 | + <BitDropMenu Text="ریسپانسیو منو" Dir="BitDir.Rtl" Responsive ScrollContainerId="sc-con-rtl2" PanelPosition="BitPanelPosition.Start"> |
| 170 | + <div style="max-width:200px;overflow:auto" id="sc-con-rtl2"> |
147 | 171 | <BitStack Gap="1rem" Style="padding:0.5rem"> |
148 | 172 | <BitText Typography="BitTypography.Subtitle1" NoWrap>این یک محتوای تستی می باشد این یک محتوای تستی می باشد این یک محتوای تستی می باشد</BitText> |
149 | 173 | <BitText Typography="BitTypography.Subtitle1" NoWrap>این یک محتوای تستی می باشد</BitText> |
150 | 174 | <BitText Typography="BitTypography.Subtitle1" NoWrap>این یک محتوای تستی می باشد</BitText> |
151 | 175 | </BitStack> |
152 | 176 | </div> |
153 | | - </BitDropMenu> *@ |
| 177 | + </BitDropMenu> |
154 | 178 | </div> |
155 | 179 | </DemoExample> |
156 | 180 | </DemoPage> |
0 commit comments