Skip to content

Commit 2e68da2

Browse files
leticiarossimanabu-nakamura
authored andcommitted
[Docs] remove {width=} and {height=} tags, and also remove unsupported tabs tags.
Resolves #4761 Co-authored-by: manabu-nakamura <[email protected]> GIT_ORIGIN_REV_ID=229c23b69b36cddc8b3092b0d97f5a9a11187c71 PiperOrigin-RevId: 755361891
1 parent 0c5b17a commit 2e68da2

File tree

3 files changed

+11
-20
lines changed

3 files changed

+11
-20
lines changed

docs/components/BottomAppBar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ and
114114
The following example shows a bottom app bar with a navigation icon, 3 action
115115
icons, and an embedded FAB.
116116

117-
![Purple bottom app bar with grey icons and purple inset floating action button](assets/bottomappbar/bottomappbar_basic.png){width="650"}
117+
<img src="assets/bottomappbar/bottomappbar_basic.png" alt="Purple bottom app bar with grey icons and purple inset floating action button." width="650"/>
118118

119119
In the layout:
120120

@@ -246,7 +246,7 @@ API and source code:
246246

247247
The following example shows a bottom app bar with Material Theming.
248248

249-
![Pink bottom app bar with pink diamond inset FAB and brown icons](assets/bottomappbar/bottomappbar_theming.png){width="600"}
249+
<img src="assets/bottomappbar/bottomappbar_theming.png" alt="Pink bottom app bar with pink diamond inset FAB and brown icons." width="600"/>
250250

251251
#### Implementing bottom app bar theming
252252

docs/components/BottomSheet.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Material Components for Android library. For more information, see the
3030
[Getting started](https://github.com/material-components/material-components-android/tree/master/docs/getting-started.md)
3131
page.
3232

33-
![Example bottom sheet: modal bottom sheet](assets/bottomsheet/bottomsheet_hero.png){width="650"}
33+
<img src="assets/bottomsheet/bottomsheet_hero.png" alt="Example bottom sheet: modal bottom sheet" width="650"/>
3434

3535
### Anatomy
3636

@@ -135,7 +135,7 @@ expanded states:
135135

136136
Collapsed <div style="width:400px"></div> | Expanded <div style="width:400px"></div>
137137
:-----------------------------------------------------------------------------------------: | :--------:
138-
![Standard collapsed bottom sheet example.](assets/bottomsheet/bottomsheet_standard1.png){height="500"} | ![Standard expanded bottom sheet example.](assets/bottomsheet/bottomsheet_standard2.png){height="500"}
138+
<img src="assets/bottomsheet/bottomsheet_standard1.png" alt="Standard collapsed bottom sheet example." height="500"/> | <img src="assets/bottomsheet/bottomsheet_standard2.png" alt="Standard expanded bottom sheet example." height="500"/>
139139

140140
`BottomSheetBehavior` works in tandem with `CoordinatorLayout` to let you
141141
display content on a bottom sheet, perform enter/exit animations, respond to
@@ -236,7 +236,7 @@ states:
236236

237237
Collapsed <div style="width:400px"></div> | Expanded <div style="width:400px"></div>
238238
:-----------------------------------------------------------------------------------: | :--------:
239-
![Modal collapsed bottom sheet example.](assets/bottomsheet/bottomsheet_modal1.png){height="500"} | ![Modal expanded bottom sheet example.](assets/bottomsheet/bottomsheet_modal2.png){height="500"}
239+
<img src="assets/bottomsheet/bottomsheet_modal1.png" alt="Modal collapsed bottom sheet example." height="500"/> | <img src="assets/bottomsheet/bottomsheet_modal2.png" alt="Modal expanded bottom sheet example." height="500"/>
240240

241241
First, subclass `BottomSheetDialogFragment` and overwrite `onCreateView` to
242242
provide a layout for the contents of the sheet (in this example, it's
@@ -367,8 +367,7 @@ API and source code:
367367
The following example shows a bottom sheet with Material Theming, in its
368368
collapsed and expanded states.
369369

370-
![Bottom sheet with pink background color. Collapsed on the left and expanded on
371-
the right.](assets/bottomsheet/bottomsheet_theming.png){height="550"}
370+
<img src="assets/bottomsheet/bottomsheet_theming.png" alt="Bottom sheet with pink background color. Collapsed on the left and expanded on the right." height="550"/>
372371

373372
#### Implementing bottom sheet theming
374373

docs/components/SideSheet.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ path: /catalog/side-sheet-behavior/
1313
containing supplementary content that are anchored to the side of the screen. See [bottom sheet documentation](BottomSheet.md) for documentation about
1414
[bottom sheets](https://m3.material.io/components/bottom-sheets/overview). There are two variants of side sheets.
1515

16-
![Side sheet hero image](assets/sidesheet/sidesheet_hero.png){width="650"}
16+
<img src="assets/sidesheet/sidesheet_hero.png" alt="Side sheet hero image" width="650"/>
1717

1818
1. Standard
1919
2. Modal
@@ -54,22 +54,18 @@ Standard side sheet basic usage:
5454

5555
### Anatomy
5656

57-
<section>
57+
#### Standard
5858

59-
<section class="tabs">
60-
61-
#### Standard {.new-tab}
62-
63-
![standard sheet anatomy](assets/sidesheet/standard_sidesheet_anatomy.png){height="500"}
59+
<img src="assets/sidesheet/standard_sidesheet_anatomy.png" alt="standard sheet anatomy" height="500"/>
6460

6561
1. Divider (optional)
6662
2. Headline
6763
3. Container
6864
4. Close affordance
6965

70-
#### Modal {.new-tab}
66+
#### Modal
7167

72-
![standard sheet anatomy](assets/sidesheet/modal_sidesheet_anatomy.png){height="500"}
68+
<img src="assets/sidesheet/modal_sidesheet_anatomy.png" alt="modal sheet anatomy" height="500"/>
7369

7470
1. Back icon button (optional)
7571
2. Header
@@ -79,10 +75,6 @@ Standard side sheet basic usage:
7975
6. Action (optional)
8076
7. Scrim
8177

82-
</section>
83-
84-
</section class="tabs">
85-
8678
More details on anatomy items in the [component guidelines](https://m3.material.io/components/side-sheets/guidelines#4d992de0-362a-41b3-9537-9da4dec148af).
8779

8880
### Key properties

0 commit comments

Comments
 (0)