Skip to content

Commit

Permalink
Increase resource placeholder height in control unit card
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangabriele committed Jan 8, 2024
1 parent 3c1f45b commit a420531
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export function Item({ controlUnitResource, onEdit }: ItemProps) {
const Wrapper = styled.div`
background-color: ${p => p.theme.color.cultured};
display: flex;
min-height: 96px;
`

const InfoBox = styled.div`
Expand All @@ -66,6 +67,7 @@ const Note = styled.div`
-webkit-line-clamp: 3;
display: -webkit-box;
overflow: hidden;
margin-bottom: 4px;
`

const Name = styled.p`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ export function Placeholder({ type }: PlaceholderProps) {
}

const Wrapper = styled.div`
align-items: center;
align-items: flex-start;
background-color: ${p => p.theme.color.lightGray};
display: flex;
height: 94px;
flex-grow: 1;
justify-content: center;
min-height: 94px;
max-width: 116px;
min-width: 116px;
padding-top: 32px;
width: 116px;
`

0 comments on commit a420531

Please sign in to comment.