(no bug) - Vertically align top sites icon
This commit is contained in:
Родитель
584d410c93
Коммит
6a7f22cd99
|
@ -10,7 +10,7 @@ export class _TopSites extends React.PureComponent {
|
||||||
{header.title ? (
|
{header.title ? (
|
||||||
<div className="ds-header">
|
<div className="ds-header">
|
||||||
<span className="icon icon-small-spacer icon-topsites" />
|
<span className="icon icon-small-spacer icon-topsites" />
|
||||||
<span>{header.title}</span>
|
<span className="ds-header-title">{header.title}</span>
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
<OldTopSites />
|
<OldTopSites />
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
// ds topsites wraps the original topsites, with a few css changes.
|
// ds topsites wraps the original topsites, with a few css changes.
|
||||||
.ds-top-sites {
|
.ds-top-sites {
|
||||||
|
|
||||||
|
.ds-header-title {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
// This is the override layer.
|
// This is the override layer.
|
||||||
.top-sites {
|
.top-sites {
|
||||||
// Slightly different alignment with the other DS components than AS has.
|
// Slightly different alignment with the other DS components than AS has.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче