2021-10-19 21:50:09 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`FontScalingPanel renders the font scaling UI 1`] = `
|
2022-11-18 17:16:11 +08:00
|
|
|
<DocumentFragment>
|
2022-03-22 18:32:35 +08:00
|
|
|
<div
|
2023-05-22 05:12:11 +08:00
|
|
|
class="mx_SettingsSubsection"
|
|
|
|
data-testid="mx_FontScalingPanel"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2022-11-18 17:16:11 +08:00
|
|
|
<div
|
2023-05-22 05:12:11 +08:00
|
|
|
class="mx_SettingsSubsectionHeading"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2023-05-22 05:12:11 +08:00
|
|
|
<h3
|
2023-06-29 18:30:25 +08:00
|
|
|
class="mx_Heading_h4 mx_SettingsSubsectionHeading_heading"
|
2021-10-19 21:50:09 +08:00
|
|
|
>
|
2023-05-22 05:12:11 +08:00
|
|
|
Font size
|
|
|
|
</h3>
|
2022-11-18 17:16:11 +08:00
|
|
|
</div>
|
2022-03-22 18:32:35 +08:00
|
|
|
<div
|
2023-05-22 05:12:11 +08:00
|
|
|
class="mx_SettingsSubsection_content mx_SettingsSubsection_contentStretch"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2024-02-21 19:23:07 +08:00
|
|
|
<div
|
|
|
|
class="mx_Field mx_Field_select mx_FontScalingPanel_Dropdown"
|
|
|
|
>
|
|
|
|
<select
|
|
|
|
id="mx_Field_1"
|
|
|
|
label="Font size"
|
|
|
|
placeholder="Font size"
|
|
|
|
type="text"
|
|
|
|
>
|
|
|
|
<option
|
|
|
|
value="-7"
|
|
|
|
>
|
|
|
|
9
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="-6"
|
|
|
|
>
|
|
|
|
10
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="-5"
|
|
|
|
>
|
|
|
|
11
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="-4"
|
|
|
|
>
|
|
|
|
12
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="-3"
|
|
|
|
>
|
|
|
|
13
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="-2"
|
|
|
|
>
|
|
|
|
14
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="-1"
|
|
|
|
>
|
|
|
|
15
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="0"
|
|
|
|
>
|
|
|
|
16 (default)
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="1"
|
|
|
|
>
|
|
|
|
17
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="2"
|
|
|
|
>
|
|
|
|
18
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="4"
|
|
|
|
>
|
|
|
|
20
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="6"
|
|
|
|
>
|
|
|
|
22
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="8"
|
|
|
|
>
|
|
|
|
24
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="10"
|
|
|
|
>
|
|
|
|
26
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="12"
|
|
|
|
>
|
|
|
|
28
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="14"
|
|
|
|
>
|
|
|
|
30
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="16"
|
|
|
|
>
|
|
|
|
32
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="18"
|
|
|
|
>
|
|
|
|
34
|
|
|
|
</option>
|
|
|
|
<option
|
|
|
|
value="20"
|
|
|
|
>
|
|
|
|
36
|
|
|
|
</option>
|
|
|
|
</select>
|
|
|
|
<label
|
|
|
|
for="mx_Field_1"
|
|
|
|
>
|
|
|
|
Font size
|
|
|
|
</label>
|
|
|
|
</div>
|
2021-10-19 21:50:09 +08:00
|
|
|
<div
|
2023-05-22 05:12:11 +08:00
|
|
|
class="mx_FontScalingPanel_preview mx_EventTilePreview_loader"
|
2022-03-22 18:32:35 +08:00
|
|
|
>
|
2023-05-22 05:12:11 +08:00
|
|
|
<div
|
|
|
|
class="mx_Spinner"
|
2023-04-12 18:57:31 +08:00
|
|
|
>
|
2023-05-22 05:12:11 +08:00
|
|
|
<div
|
|
|
|
aria-label="Loading…"
|
|
|
|
class="mx_Spinner_icon"
|
|
|
|
data-testid="spinner"
|
|
|
|
role="progressbar"
|
|
|
|
style="width: 32px; height: 32px;"
|
|
|
|
/>
|
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-22 18:32:35 +08:00
|
|
|
</div>
|
2022-11-18 17:16:11 +08:00
|
|
|
</DocumentFragment>
|
2021-10-19 21:50:09 +08:00
|
|
|
`;
|