Merge pull request #3137 from urbit/mp/channel-qol-parity

link, publish: channel item legibility update
This commit is contained in:
matildepark 2020-07-16 20:42:40 -04:00 committed by GitHub
commit 45d051169b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

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

View File

@ -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>
);

View File

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

View File

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