Live location sharing: maximised view sidebar container (#8360)
* add h4 Signed-off-by: Kerry Archibald <kerrya@element.io> * add mixin to clear list style Signed-off-by: Kerry Archibald <kerrya@element.io> * add basic sidebar container Signed-off-by: Kerry Archibald <kerrya@element.io> * open list view button on beaconviewdialog Signed-off-by: Kerry Archibald <kerrya@element.io> * update tests for new utils Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
@@ -25,4 +25,8 @@ describe('<Heading />', () => {
|
||||
it('renders h3 with correct attributes', () => {
|
||||
expect(getComponent({ size: 'h3' })).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it('renders h4 with correct attributes', () => {
|
||||
expect(getComponent({ size: 'h4' })).toMatchSnapshot();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -32,3 +32,14 @@ exports[`<Heading /> renders h3 with correct attributes 1`] = `
|
||||
</div>
|
||||
</h3>
|
||||
`;
|
||||
|
||||
exports[`<Heading /> renders h4 with correct attributes 1`] = `
|
||||
<h4
|
||||
class="mx_Heading_h4 test"
|
||||
data-test-id="test"
|
||||
>
|
||||
<div>
|
||||
test
|
||||
</div>
|
||||
</h4>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user