Skip to content

Commit aaa024b

Browse files
committed
Don't pad from the sides
1 parent 4f1a01d commit aaa024b

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/components/account/SavedLocationsPage.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const TopRow = styled.div`
4040
display: flex;
4141
align-items: center;
4242
gap: 8px;
43-
padding: 0 1.25rem;
43+
margin-block-end: 0.5em;
4444
`
4545

4646
const ListName = styled.h2`
@@ -53,7 +53,6 @@ const ExpandRow = styled.div`
5353
display: flex;
5454
align-items: center;
5555
gap: 6px;
56-
padding: 0.6rem 1.25rem;
5756
cursor: ${({ $clickable }) => ($clickable ? 'pointer' : 'default')};
5857
`
5958

@@ -98,8 +97,8 @@ const LocationItem = styled.li`
9897
display: flex;
9998
align-items: center;
10099
justify-content: space-between;
101-
padding: 0.5rem 1.25rem;
102100
border-bottom: 1px solid #efefef;
101+
padding-block: 0.5em;
103102
position: relative;
104103
105104
&:last-child {
@@ -111,7 +110,6 @@ const LocationLink = styled(Link)`
111110
color: ${theme.blue} !important;
112111
text-decoration: none;
113112
flex: 1;
114-
font-size: 1rem;
115113
116114
&:hover {
117115
text-decoration: underline;

0 commit comments

Comments
 (0)