(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 ? (
|
||||
<div className="ds-header">
|
||||
<span className="icon icon-small-spacer icon-topsites" />
|
||||
<span>{header.title}</span>
|
||||
<span className="ds-header-title">{header.title}</span>
|
||||
</div>
|
||||
) : null}
|
||||
<OldTopSites />
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
// ds topsites wraps the original topsites, with a few css changes.
|
||||
.ds-top-sites {
|
||||
|
||||
.ds-header-title {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
// This is the override layer.
|
||||
.top-sites {
|
||||
// Slightly different alignment with the other DS components than AS has.
|
||||
|
|
Загрузка…
Ссылка в новой задаче