fix(my-joy-beta): bolder metadata name
This commit is contained in:
parent
16733251a1
commit
2c24ce536d
@ -29,7 +29,7 @@ import {
|
|||||||
DeleteIcon
|
DeleteIcon
|
||||||
} from 'joyent-ui-toolkit';
|
} from 'joyent-ui-toolkit';
|
||||||
|
|
||||||
const CollapsedKeyValue = styled.span`
|
const CollapsedKeyValue = styled.div`
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -143,13 +143,11 @@ export const KeyValue = ({
|
|||||||
<H4>{`${titleCase(method)} ${type}`}</H4>
|
<H4>{`${titleCase(method)} ${type}`}</H4>
|
||||||
) : (
|
) : (
|
||||||
<CollapsedKeyValue>
|
<CollapsedKeyValue>
|
||||||
<span>
|
{expanded ? (
|
||||||
{!expanded ? (
|
<span>{`${initialValues.name}: `}</span>
|
||||||
`${initialValues.name}: `
|
|
||||||
) : (
|
) : (
|
||||||
<b>{`${initialValues.name}: `}</b>
|
<b>{`${initialValues.name}: `}</b>
|
||||||
)}
|
)}
|
||||||
</span>
|
|
||||||
<span>{initialValues.value}</span>
|
<span>{initialValues.value}</span>
|
||||||
</CollapsedKeyValue>
|
</CollapsedKeyValue>
|
||||||
)}
|
)}
|
||||||
|
@ -70,7 +70,7 @@ export const Tags = ({
|
|||||||
|
|
||||||
const _count = !_loading ? (
|
const _count = !_loading ? (
|
||||||
<Margin bottom={4} top={addOpen && 4}>
|
<Margin bottom={4} top={addOpen && 4}>
|
||||||
<H3>{tags.length} tags</H3>
|
<H3>{tags.length} tag{tags.length === 1 ? '' : 's'}</H3>
|
||||||
</Margin>
|
</Margin>
|
||||||
) : null;
|
) : null;
|
||||||
|
|
||||||
|
@ -8,10 +8,9 @@ export default ({ theme }) => css`
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
html, body {
|
||||||
font-family: ${
|
font-display: optional;
|
||||||
theme.font.family
|
font-family: ${theme.font.family}, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica, sans-serif;
|
||||||
}, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica, sans-serif;
|
|
||||||
font-weight: ${theme.font.weight.normal};
|
font-weight: ${theme.font.weight.normal};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@ const BaseLink = styled(({ component, children, ...rest }) =>
|
|||||||
)`
|
)`
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
font-weight: ${props => props.theme.font.weight.normal};
|
||||||
|
|
||||||
&:visited {
|
&:visited {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
@ -164,7 +164,6 @@ const Button = styled(BaseButton)`
|
|||||||
-webkit-text-fill-color: currentcolor;
|
-webkit-text-fill-color: currentcolor;
|
||||||
background-color: ${props => props.theme.white};
|
background-color: ${props => props.theme.white};
|
||||||
border-color: ${props => props.theme.red};
|
border-color: ${props => props.theme.red};
|
||||||
font-weight: 600;
|
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
background-color: ${props => props.theme.white};
|
background-color: ${props => props.theme.white};
|
||||||
|
Loading…
Reference in New Issue
Block a user