Skip to content

Commit 6b5e2e2

Browse files
committed
RevDepRow: Adjust row styling to match regular dependency list
1 parent 5912eda commit 6b5e2e2

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

app/components/rev-dep-row.module.css

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
.row {
2-
padding: 20px 0;
2+
--shadow: 0 1px 3px hsla(51, 90%, 42%, .35);
3+
34
display: flex;
5+
align-items: center;
46
justify-content: space-between;
5-
flex-wrap: wrap;
7+
position: relative;
8+
font-size: 18px;
9+
padding: 15px 25px;
10+
background-color: white;
11+
border-radius: 5px;
12+
box-shadow: var(--shadow);
13+
transition: all 300ms;
14+
15+
@media only screen and (max-width: 550px) {
16+
display: block
17+
}
618
}
719

820
.stats {
@@ -17,6 +29,7 @@
1729
}
1830

1931
.download-icon {
32+
flex-shrink: 0;
2033
color: #b13b89;
2134
}
2235

app/styles/crate/reverse-dependencies.module.css

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@
88

99
.list {
1010
list-style: none;
11-
background-color: white;
12-
padding: 0 20px;
1311
margin: 0 0 20px;
14-
}
15-
16-
.row {
17-
border-bottom: 2px solid var(--gray-border);
12+
padding: 0;
1813

19-
&:last-of-type {
20-
border: none;
14+
li {
15+
&:not(:first-child) {
16+
margin-top: 10px;
17+
}
2118
}
2219
}
2320

0 commit comments

Comments
 (0)