Skip to content

Commit fbdc547

Browse files
committed
Fix image sizing & overflow on small screens
1 parent 9421a6e commit fbdc547

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/components/pages/TeacherFeatures.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const TeacherFeatures = () => {
2323
const TeacherFeatureCard = (props: TeacherFeatureCardProps) => {
2424
const {url, imgSrc, title, subtitle, disabled} = props;
2525
return <Link to={url} className="h-100 w-100" aria-label={title} aria-disabled={disabled} style={{textDecoration: "none"}}>
26-
<Card className={classNames("p-3 teacher-features", {"disabled": disabled})}>
26+
<Card className={classNames("p-3 teacher-features h-100", {"disabled": disabled})}>
2727
<div className="d-flex justify-content-between">
2828
<h5 className="mt-3 me-2">{title}</h5>
2929
<img src={imgSrc} alt=""/>

src/scss/phy/menu-page-phy.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
border-radius: 8px;
8787
border: 2px solid $color-neutral-200;
8888
img {
89-
width: 15%;
89+
width: 3.5rem;
9090
}
9191
&.disabled {
9292
box-shadow: none !important;

0 commit comments

Comments
 (0)