Fediverse timeline: column transparency fixes

profile-avatar-switcher
Alex Gleason 2021-10-11 14:10:25 -05:00
rodzic 47b433915b
commit 26ec27a859
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
3 zmienionych plików z 13 dodań i 11 usunięć

Wyświetl plik

@ -16,7 +16,7 @@ const mapStateToProps = state => {
};
};
class PinnedHostPicker extends React.PureComponent {
class PinnedHostsPicker extends React.PureComponent {
static contextTypes = {
router: PropTypes.object,
@ -34,18 +34,16 @@ class PinnedHostPicker extends React.PureComponent {
if (!pinnedHosts || pinnedHosts.isEmpty()) return null;
return (
<div>
<div className='pinned-hosts-picker'>
{pinnedHosts.map(host => (
<div className={classNames('pinned-host', { 'active': host === activeHost })} key={host}>
<Link to={`/timeline/${host}`}>{host}</Link>
</div>
))}
</div>
<div className='pinned-hosts-picker'>
{pinnedHosts.map(host => (
<div className={classNames('pinned-host', { 'active': host === activeHost })} key={host}>
<Link to={`/timeline/${host}`}>{host}</Link>
</div>
))}
</div>
);
}
}
export default connect(mapStateToProps)(PinnedHostPicker);
export default connect(mapStateToProps)(PinnedHostsPicker);

Wyświetl plik

@ -1,5 +1,5 @@
.explanation-box {
margin: 5px 20px;
padding: 5px 20px;
}
.accordion {

Wyświetl plik

@ -902,3 +902,7 @@
border-top-right-radius: 0;
}
}
.column .explanation-box {
background: var(--foreground-color);
}