Skip to content

Commit

Permalink
fixed spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Georg-code committed Sep 12, 2021
1 parent 6a105e5 commit cdcc5f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions libs/press/src/lib/press-image/press-image.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,19 @@
width: 80px;
height: 80px;
overflow: hidden;
display: flex;

border-radius: 100%;
object-fit: contain;
}

&__spacings {
margin-right: 5vw;
margin-left: 5vw;
margin-top: 5vh;
border-radius: 100%;
object-fit: contain;
display: flex;
}

&__image:hover {
cursor: pointer;
}
}
2 changes: 1 addition & 1 deletion libs/press/src/lib/press-image/press-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface PressImageProps {
export function PressImage(props: PressImageProps) {
return (
<div className="press-image">
<a href={props.redirect}>
<a href={props.redirect} className="press-image__spacings">
<img
className="press-image__image"
src={props.src}
Expand Down

0 comments on commit cdcc5f5

Please sign in to comment.