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:
parent
51a543643e
commit
706c4b7101
3 changed files with 12 additions and 7 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue