mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-14 17:41:33 +03:00
Merge pull request #3137 from urbit/mp/channel-qol-parity
link, publish: channel item legibility update
This commit is contained in:
commit
45d051169b
@ -16,7 +16,7 @@ export class ChannelsItem extends Component {
|
||||
|
||||
return (
|
||||
<Link to={makeRoutePath(props.link)}>
|
||||
<div className={'w-100 v-mid f9 ph4 z1 pv1 relative ' + selectedClass}>
|
||||
<div className={'w-100 v-mid f9 ph5 z1 pv1 relative ' + selectedClass}>
|
||||
<p className="f9 dib">{props.name}</p>
|
||||
<p className="f9 dib fr">
|
||||
{unseenCount}
|
||||
|
@ -14,7 +14,7 @@ export class GroupItem extends Component {
|
||||
}
|
||||
|
||||
const channels = props.channels ? props.channels : [];
|
||||
const first = (props.index === 0) ? 'pt1' : 'pt4';
|
||||
const first = (props.index === 0) ? 'pt1' : 'pt6';
|
||||
|
||||
const channelItems = channels.map((each, i) => {
|
||||
const meta = props.linkMetadata[each];
|
||||
@ -36,7 +36,7 @@ export class GroupItem extends Component {
|
||||
});
|
||||
return (
|
||||
<div className={first}>
|
||||
<p className="f9 ph4 pb2 fw6 gray3">{title}</p>
|
||||
<p className="f9 ph4 pb2 gray3">{title}</p>
|
||||
{channelItems}
|
||||
</div>
|
||||
);
|
||||
|
@ -13,7 +13,7 @@ export class GroupItem extends Component {
|
||||
}
|
||||
|
||||
const groupedBooks = props.groupedBooks ? props.groupedBooks : [];
|
||||
const first = (props.index === 0) ? 'pt1' : 'pt4';
|
||||
const first = (props.index === 0) ? 'pt1' : 'pt6';
|
||||
|
||||
const notebookItems = groupedBooks.map((each, i) => {
|
||||
const unreads = props.notebooks[each]['num-unread'] || 0;
|
||||
|
@ -16,7 +16,7 @@ export class NotebookItem extends Component {
|
||||
<Link
|
||||
to={'/~publish/notebook/' + props.path}
|
||||
>
|
||||
<div className={'w-100 v-mid f9 ph4 pv1 ' + selectedClass}>
|
||||
<div className={'w-100 v-mid f9 ph5 pv1 ' + selectedClass}>
|
||||
<p className="dib f9">{props.title}</p>
|
||||
{unread}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user