sforkowany z mirror/soapbox
Fediverse timeline: column transparency fixes
rodzic
47b433915b
commit
26ec27a859
|
@ -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);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.explanation-box {
|
||||
margin: 5px 20px;
|
||||
padding: 5px 20px;
|
||||
}
|
||||
|
||||
.accordion {
|
||||
|
|
|
@ -902,3 +902,7 @@
|
|||
border-top-right-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.column .explanation-box {
|
||||
background: var(--foreground-color);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue