(no bug) - Vertically align top sites icon

This commit is contained in:
Ed Lee 2019-01-25 15:46:30 -08:00
Родитель 584d410c93
Коммит 6a7f22cd99
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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.