Skip to content

Commit

Permalink
Update banner frame (#3972)
Browse files Browse the repository at this point in the history
Signed-off-by: Cintia Sanchez Garcia <cynthiasg@icloud.com>
  • Loading branch information
cynthia-sg authored Aug 7, 2024
1 parent fec9c9e commit 9c3ab89
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions web/src/layout/package/Banner.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
transition: max-height 0.5s ease-in-out;
}

.card {
padding: 0.33rem;
}

.loaded {
max-height: 1500px;
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/layout/package/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Banner = (props: Props) => {
if (isNull(visibleBanner)) return null;

const getCardImage = () => (
<div className={`card flex-row shadow-sm mw-100 p-3 overflow-hidden ${props.className}`}>
<div className={`card flex-row shadow-sm mw-100 overflow-hidden ${styles.card} ${props.className}`}>
<img
ref={img}
src={effective === 'light' ? visibleBanner.images['light-theme'] : visibleBanner.images['dark-theme']}
Expand Down

0 comments on commit 9c3ab89

Please sign in to comment.