From 16733251a137109cd9ef71a0eeb26fad0f84f021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Thu, 4 Jan 2018 12:36:34 +0000 Subject: [PATCH] fix(my-joy-beta): pluralize 'pair' when appropriate --- packages/my-joy-beta/src/containers/instances/metadata.js | 2 +- packages/ui-toolkit/src/tags/item.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/my-joy-beta/src/containers/instances/metadata.js b/packages/my-joy-beta/src/containers/instances/metadata.js index 5e4f89d4..a8e9ef89 100644 --- a/packages/my-joy-beta/src/containers/instances/metadata.js +++ b/packages/my-joy-beta/src/containers/instances/metadata.js @@ -70,7 +70,7 @@ export const Metadata = ({ const _count = !_loading ? ( -

{metadata.length} key:value pair

+

{metadata.length} key:value pair{metadata.length === 1 ? '' : 's'}

) : null; diff --git a/packages/ui-toolkit/src/tags/item.js b/packages/ui-toolkit/src/tags/item.js index a200701b..4450645f 100644 --- a/packages/ui-toolkit/src/tags/item.js +++ b/packages/ui-toolkit/src/tags/item.js @@ -5,7 +5,7 @@ import is from 'styled-is'; export default styled.li` border: ${remcalc(1)} solid ${props => props.theme.grey}; box-sizing: border-box; - border-radius: ${remcalc(2)}; + border-radius: ${remcalc(3)}; font-size: ${remcalc(13)}; padding: ${remcalc(6)} ${remcalc(12)}; display: flex;