diff --git a/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/StyledWrapper.js b/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/StyledWrapper.js index 4115c448..c779b67a 100644 --- a/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/StyledWrapper.js +++ b/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/StyledWrapper.js @@ -1,6 +1,16 @@ import styled from 'styled-components'; const Wrapper = styled.div` + font-size: 0.6875rem; + display: flex; + align-self: stretch; + align-items: center; + + span { + position: relative; + top: 1px; + } + .method-get { color: var(--color-method-get);} .method-post { color: var(--color-method-post);} .method-put { color: var(--color-method-put);} diff --git a/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/index.js b/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/index.js index 6edceedf..7bc9548e 100644 --- a/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/index.js +++ b/renderer/components/Sidebar/Collections/Collection/CollectionItem/RequestMethod/index.js @@ -20,7 +20,9 @@ const RequestMethod = ({item}) => { return ( - {item.request.method} +
+ {item.request.method} +
); }; diff --git a/renderer/components/Sidebar/Collections/Collection/CollectionItem/index.js b/renderer/components/Sidebar/Collections/Collection/CollectionItem/index.js index b6540ef1..0cb7d993 100644 --- a/renderer/components/Sidebar/Collections/Collection/CollectionItem/index.js +++ b/renderer/components/Sidebar/Collections/Collection/CollectionItem/index.js @@ -93,7 +93,7 @@ const CollectionItem = ({item, collectionUid}) => {
- {item.name} +
{item.name}