mirror of https://github.com/vector-im/riot-web
Use h tag for widget title instead of b tag (#12504)
* Change b tag to h3 tag * Remove margin * Update snapshotspull/28217/head
parent
51a543643e
commit
706c4b7101
|
@ -216,6 +216,11 @@ limitations under the License.
|
|||
margin-right: 12px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: inherit;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
> :last-child {
|
||||
margin-left: 9px;
|
||||
display: flex;
|
||||
|
|
|
@ -537,7 +537,7 @@ export default class AppTile extends React.Component<IProps, IState> {
|
|||
return (
|
||||
<span>
|
||||
<WidgetAvatar app={this.props.app} size="20px" />
|
||||
<b>{name}</b>
|
||||
<h3>{name}</h3>
|
||||
<span>
|
||||
{title ? titleSpacer : ""}
|
||||
{title}
|
||||
|
|
|
@ -125,9 +125,9 @@ exports[`AppTile for a pinned widget should render 1`] = `
|
|||
width="20px"
|
||||
/>
|
||||
</span>
|
||||
<b>
|
||||
<h3>
|
||||
Example 1
|
||||
</b>
|
||||
</h3>
|
||||
<span />
|
||||
</span>
|
||||
</span>
|
||||
|
@ -211,9 +211,9 @@ exports[`AppTile for a pinned widget should render permission request 1`] = `
|
|||
width="20px"
|
||||
/>
|
||||
</span>
|
||||
<b>
|
||||
<h3>
|
||||
Example 1
|
||||
</b>
|
||||
</h3>
|
||||
<span />
|
||||
</span>
|
||||
</span>
|
||||
|
@ -364,9 +364,9 @@ exports[`AppTile preserves non-persisted widget on container move 1`] = `
|
|||
width="20px"
|
||||
/>
|
||||
</span>
|
||||
<b>
|
||||
<h3>
|
||||
Example 1
|
||||
</b>
|
||||
</h3>
|
||||
<span />
|
||||
</span>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue