mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 11:11:32 +03:00
2e3f225520
* override default fieldset styles Signed-off-by: Kerry Archibald <kerrya@element.io> * SettingsFieldset component Signed-off-by: Kerry Archibald <kerrya@element.io> * test settings fieldset Signed-off-by: Kerry Archibald <kerrya@element.io> * refactor SettingsFlag styles * use SettingsFieldset in room > securit settings * use fieldset in urlpreviewsettings Signed-off-by: Kerry Archibald <kerrya@element.io> * use SettingsFieldset in AliasSettings Signed-off-by: Kerry Archibald <kerrya@element.io> * fieldset in room > roles settings Signed-off-by: Kerry Archibald <kerrya@element.io> * css lint Signed-off-by: Kerry Archibald <kerrya@element.io> * run i18n Signed-off-by: Kerry Archibald <kerrya@element.io> * fussy order Signed-off-by: Kerry Archibald <kerrya@element.io> * default export Signed-off-by: Kerry Archibald <kerrya@element.io> * fix copyright headers Signed-off-by: Kerry Archibald <kerrya@element.io>
66 lines
1.1 KiB
Text
66 lines
1.1 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with plain text description 1`] = `
|
|
<fieldset
|
|
class="mx_SettingsFieldset"
|
|
data-test-id="test"
|
|
>
|
|
<legend
|
|
class="mx_SettingsFieldset_legend"
|
|
>
|
|
Who can read history?
|
|
</legend>
|
|
<div
|
|
class="mx_SettingsFieldset_description"
|
|
>
|
|
Changes to who can read history.
|
|
</div>
|
|
<div>
|
|
test
|
|
</div>
|
|
</fieldset>
|
|
`;
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with react description 1`] = `
|
|
<fieldset
|
|
class="mx_SettingsFieldset"
|
|
data-test-id="test"
|
|
>
|
|
<legend
|
|
class="mx_SettingsFieldset_legend"
|
|
>
|
|
Who can read history?
|
|
</legend>
|
|
<div
|
|
class="mx_SettingsFieldset_description"
|
|
>
|
|
<p>
|
|
Test
|
|
</p>
|
|
<a
|
|
href="#"
|
|
>
|
|
a link
|
|
</a>
|
|
</div>
|
|
<div>
|
|
test
|
|
</div>
|
|
</fieldset>
|
|
`;
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset without description 1`] = `
|
|
<fieldset
|
|
class="mx_SettingsFieldset"
|
|
data-test-id="test"
|
|
>
|
|
<legend
|
|
class="mx_SettingsFieldset_legend"
|
|
>
|
|
Who can read history?
|
|
</legend>
|
|
<div>
|
|
test
|
|
</div>
|
|
</fieldset>
|
|
`;
|