Skip to content

Commit 94e54e4

Browse files
imhappileticiarossi
authored andcommitted
[Docs] Update width
Resolves #4270 PiperOrigin-RevId: 668083866
1 parent d408906 commit 94e54e4

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

docs/components/ProgressIndicator.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ API and source code:
172172

173173
The following example shows a determinate linear progress indicator.
174174

175-
![Determinate linear progress indicator animation: purple indicator fills up
175+
<img src="assets/progressindicator/linear_determinate.gif" alt="Determinate linear progress indicator animation: purple indicator fills up
176176
grey
177-
track](assets/progressindicator/linear_determinate.gif){width="600"}
177+
track" width="600"/>
178178

179179
In the layout:
180180

@@ -186,9 +186,9 @@ In the layout:
186186

187187
The following example shows an indeterminate linear progress indicator.
188188

189-
![Indeterminate linear progress indicator animation: purple indicator travels
189+
<img src="assets/progressindicator/linear_indeterminate.gif" alt="Indeterminate linear progress indicator animation: purple indicator travels
190190
along grey
191-
track](assets/progressindicator/linear_indeterminate.gif){width="600"}
191+
track" width="600"/>
192192

193193
In the layout:
194194

@@ -204,14 +204,14 @@ In the layout:
204204
For linear progress indicator, there are two indeterminate animation types:
205205

206206
* `disjoint` - animates as repeated cycles with two disjoint segments in the
207-
same color at a time. ![Disjointed indeterminate linear progress indicator animation: red indicator
207+
same color at a time. <img src="assets/progressindicator/linear_multicolor_disjoint.gif" alt="Disjointed indeterminate linear progress indicator animation: red indicator
208208
travels along track 2x then switches to
209-
yellow](assets/progressindicator/linear_multicolor_disjoint.gif){width="600"}
209+
yellow" width="600"/>
210210

211211
* `contiguous` - animates as repeated cycles with three adjacent segments in
212-
different colors. ![Contiguous indeterminate linear progress indicator
212+
different colors. <img src="assets/progressindicator/linear_multicolor_contiguous.gif" alt="Contiguous indeterminate linear progress indicator
213213
animation: red, yellow, blue indicators move sequentially and cover
214-
track](assets/progressindicator/linear_multicolor_contiguous.gif){width="600"}
214+
track" width="600"/>
215215

216216
**Note:** There is a minimum requirement of 3 indicator colors to use the
217217
**contiguous** animation. Otherwise, an IllegalArgumentException will be thrown.
@@ -238,9 +238,9 @@ API and source code:
238238

239239
The following example shows a determinate circular progress indicator.
240240

241-
![Determinate circular progress indicator animation: purple indicator draws a
241+
<img src="assets/progressindicator/circular_determinate.gif" alt="Determinate circular progress indicator animation: purple indicator draws a
242242
circle clockwise from the
243-
top](assets/progressindicator/circular_determinate.gif){width="600"}
243+
top" width="600"/>
244244

245245
In the layout:
246246

@@ -252,9 +252,9 @@ In the layout:
252252

253253
The following example shows an indeterminate circular progress indicator.
254254

255-
![Indeterminate circular progress indicator animation: purple indicator follows
255+
<img src="assets/progressindicator/circular_indeterminate.gif" alt="Indeterminate circular progress indicator animation: purple indicator follows
256256
a circle clockwise from the
257-
top](assets/progressindicator/circular_indeterminate.gif){width="600"}
257+
top" width="600"/>
258258

259259
In the layout:
260260

docs/components/Slider.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ page.
3636

3737
### Usage
3838

39-
![Continuous slider](assets/slider/slider_continuous.png){width="600"}
40-
![Discrete slider](assets/slider/slider_discrete.png){width="600"}
39+
<img src="assets/slider/slider_continuous.png" alt="Continuous slider" width="600"/>
40+
<img src="assets/slider/slider_discrete.png" alt="Discrete slider" width="600"/>
4141

4242
Add a `Slider` to a layout:
4343

@@ -183,8 +183,8 @@ indicate magnitude (e.g.: 1.5K, 3M, 12B). That can be achieved through the
183183

184184
The following example shows a slider for a price range in USD currency.
185185

186-
!["Range slider with range of $0 to $10. Left thumb is set at $2, right thumb
187-
at $7."](assets/slider/slider_price.png){width="400"}
186+
<img src="assets/slider/slider_price.png" alt="Range slider with range of $0 to $10. Left thumb is set at $2, right thumb
187+
at $7." width="400"/>
188188

189189
In code:
190190

@@ -266,7 +266,7 @@ In the layout:
266266

267267
The following example shows a discrete range slider.
268268

269-
!["Discrete range slider."](assets/slider/slider_discrete_range.png){width="400"}
269+
<img src="assets/slider/slider_discrete_range.png" alt="Discrete range slider." width="400"/>
270270

271271
In the layout:
272272

0 commit comments

Comments
 (0)