Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Commit 6267f37

Browse files
committed
feat(Clause): update styling so less space at top of clause
Signed-off-by: Diana Lease <[email protected]>
1 parent 0ebe9cd commit 6267f37

File tree

1 file changed

+3
-4
lines changed
  • packages/cicero-ui/src/lib/components

1 file changed

+3
-4
lines changed

packages/cicero-ui/src/lib/components/styles.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const ClauseWrapper = styled.div`
99
border: 1px solid #19C6C7;
1010
border-radius: 3px;
1111
grid-template-columns: 10px 375px 1fr 25px 25px 25px 10px;
12-
grid-template-rows: 11px 11px 1fr;
12+
grid-template-rows: 0px 10px 1fr;
1313
grid-template-areas: "one two three four five six seven"
1414
"eight nine ten eleven twelve thirteen fourteen"
1515
"fifteen sixteen seventeen eighteen nineteen twenty twentyone";
@@ -56,8 +56,7 @@ export const ClauseHeader = styled.div`
5656
background: linear-gradient(180deg, #FFFFFF 0%, #F4F6FC 100%);
5757
align-self: center;
5858
justify-self: start;
59-
margin-top: -16px;
60-
margin-bottom: 6px;
59+
margin-bottom: 9px;
6160
padding: 3px;
6261
color: #696969;
6362
line-height: 14px;
@@ -101,7 +100,7 @@ const IconWrapper = styled.div`
101100
background: linear-gradient(180deg, #FFF 0%, #F4F6FC 100%);
102101
position: relative;
103102
z-index: 1;
104-
margin-top: -18px;
103+
margin-bottom: 9px;
105104
padding: 4px;
106105
place-self: center;
107106
transition-duration: 0.5s;

0 commit comments

Comments
 (0)