diff options
author | August Skare <post@augustskare.no> | 2018-11-07 19:45:25 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-11-07 19:45:25 +0800 |
commit | d91c41b29c5918752306544ec1875d4e68a975fa (patch) | |
tree | 92d9dfd3fa7bbdad9651f81d964883ee09539c15 /packages | |
parent | c27a2b64efbc264262980d5ca2e7a096341ac89c (diff) | |
download | dexon-0x-contracts-d91c41b29c5918752306544ec1875d4e68a975fa.tar.gz dexon-0x-contracts-d91c41b29c5918752306544ec1875d4e68a975fa.tar.zst dexon-0x-contracts-d91c41b29c5918752306544ec1875d4e68a975fa.zip |
fix alignment on list bullest
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dev-tools-pages/ts/components/List.tsx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/packages/dev-tools-pages/ts/components/List.tsx b/packages/dev-tools-pages/ts/components/List.tsx index b9bc4ab24..5bf6a9a6b 100644 --- a/packages/dev-tools-pages/ts/components/List.tsx +++ b/packages/dev-tools-pages/ts/components/List.tsx @@ -5,24 +5,25 @@ import { media } from '../variables'; const StyledList = styled.ul` list-style-type: none; margin: 0; - padding-inline-start: 0rem; + padding: 0; position: relative; `; const StyledItem = styled.li` position: relative; - padding-left: 26px; + padding-left: 1.625rem; :before { content: ''; - position: absolute; - left: 0; border: 1px solid black; - width: 0.6875rem; - height: 0.6875rem; + width: 0.625rem; + height: 0.625rem; display: inline-block; - transform: rotate(45deg) translateY(-50%); - top: 12px; + position: absolute; + margin-top: 2px; + top: 0.3125rem; + left: 0; + transform: rotate(45deg); } :not(:last-child) { margin-bottom: 0.5625rem; |