Skip to content

Commit faf6dc0

Browse files
kazup01Davy-c
authored andcommitted
Dependency prop UI
1 parent 7d95f9d commit faf6dc0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/cloud/components/Props/Pickers/DocDependencySelect.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ const PastilleContainer = styled.div`
226226
const Container = styled.div`
227227
.item__property__button {
228228
cursor: pointer;
229+
height: auto;
229230
}
230231
231232
.dependencies___wrapper {
@@ -237,13 +238,14 @@ const Container = styled.div`
237238
238239
.dependency__pastille {
239240
margin-right: ${({ theme }) => theme.sizes.spaces.xsm}px;
241+
margin-top: ${({ theme }) => theme.sizes.spaces.xsm}px;
240242
}
241243
242244
.dependency__wrapper {
243245
display: inline-flex;
244246
line-height: 23px;
245247
margin-right: ${({ theme }) => theme.sizes.spaces.xsm}px;
246-
background: ${({ theme }) => theme.colors.background.quaternary};
248+
background: ${({ theme }) => theme.colors.background.tertiary};
247249
border-radius: ${({ theme }) => theme.borders.radius}px;
248250
margin-top: ${({ theme }) => theme.sizes.spaces.xsm}px;
249251
margin-bottom: ${({ theme }) => theme.sizes.spaces.xsm}px;
@@ -255,6 +257,14 @@ const Container = styled.div`
255257
text-decoration: underline;
256258
}
257259
}
260+
261+
.dependency__label__text {
262+
white-space: nowrap;
263+
text-overflow: ellipsis;
264+
max-width: 300px;
265+
display: inline-block;
266+
overflow: hidden;
267+
}
258268
}
259269
`
260270

0 commit comments

Comments
 (0)