You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-31 13:44:28 +03:00
Use h tag for widget title instead of b tag (#12504)
* Change b tag to h3 tag * Remove margin * Update snapshots
This commit is contained in:
@ -216,6 +216,11 @@ limitations under the License.
|
|||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
font-size: inherit;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
> :last-child {
|
> :last-child {
|
||||||
margin-left: 9px;
|
margin-left: 9px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -537,7 +537,7 @@ export default class AppTile extends React.Component<IProps, IState> {
|
|||||||
return (
|
return (
|
||||||
<span>
|
<span>
|
||||||
<WidgetAvatar app={this.props.app} size="20px" />
|
<WidgetAvatar app={this.props.app} size="20px" />
|
||||||
<b>{name}</b>
|
<h3>{name}</h3>
|
||||||
<span>
|
<span>
|
||||||
{title ? titleSpacer : ""}
|
{title ? titleSpacer : ""}
|
||||||
{title}
|
{title}
|
||||||
|
@ -125,9 +125,9 @@ exports[`AppTile for a pinned widget should render 1`] = `
|
|||||||
width="20px"
|
width="20px"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<b>
|
<h3>
|
||||||
Example 1
|
Example 1
|
||||||
</b>
|
</h3>
|
||||||
<span />
|
<span />
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@ -211,9 +211,9 @@ exports[`AppTile for a pinned widget should render permission request 1`] = `
|
|||||||
width="20px"
|
width="20px"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<b>
|
<h3>
|
||||||
Example 1
|
Example 1
|
||||||
</b>
|
</h3>
|
||||||
<span />
|
<span />
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
@ -364,9 +364,9 @@ exports[`AppTile preserves non-persisted widget on container move 1`] = `
|
|||||||
width="20px"
|
width="20px"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
<b>
|
<h3>
|
||||||
Example 1
|
Example 1
|
||||||
</b>
|
</h3>
|
||||||
<span />
|
<span />
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
Reference in New Issue
Block a user