Skip to content

Commit

Permalink
size adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
Maija Y committed Oct 13, 2023
1 parent 73d2414 commit 836cb5e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default function Page() {
display: flex;
align-items: center;
justify-content: center;
gap:20px;
gap:1rem;
`}>

<div className={css`
Expand All @@ -32,18 +32,18 @@ export default function Page() {
`}>

<div className={css`
height: 70px;
width: 6px;
height: 80px;
width: 8px;
border-left: 1px solid black;
border-top: 1px solid black;
border-bottom: 1px solid black;
`} />

<div className={css`
display:inline-grid;
height: 50px;
height: 55px;
grid-template-columns: 60px 60px;
grid-column-gap: 6px;
grid-column-gap: 4px;
grid-row-gap: 4px;
`}>
<input type="number" value={a} step=".1" onChange={(event) => setA(event.target.valueAsNumber)} />
Expand All @@ -53,29 +53,29 @@ export default function Page() {
</div>

<div className={css`
height: 70px;
width: 6px;
height: 80px;
width: 8px;
border-right: 1px solid black;
border-top: 1px solid black;
border-bottom: 1px solid black;
`} />
</div>

<div className={css`
font-size: 24px;
font-size: 26px;
padding-left: 15px;
`}>&times;</div>

<div className={css`
display: flex;
align-items: center;
justify-content: center;
width: 170px;
height: 170px;
width: 190px;
height: 190px;
`}>
<img src="https://rage.github.io/introduction-to-matrix-calculus/static/c4b8116295cab8e3c208d824de6ffd01/5a46d/hedelmat.png"
width={140}
height={140}
width={160}
height={160}
alt="Picture of a fruitbowl"
/>
</div>
Expand All @@ -88,20 +88,20 @@ export default function Page() {
`}>
<p className={css`
padding: 8px;
font-size: 24px;
font-size: 26px;
`}>=</p>

<div className={css`
display: flex;
align-items: center;
overflow: hidden;
width: 170px;
height: 170px;
width: 190px;
height: 190px;
`}>
<img src="https://rage.github.io/introduction-to-matrix-calculus/static/c4b8116295cab8e3c208d824de6ffd01/5a46d/hedelmat.png"
alt="Matrix linear transformation visualization"
width={140}
height={140}
width={160}
height={160}
className={css`
transform: matrix(${a}, ${b}, ${c} , ${d}, 0, 0);
`} />
Expand Down

0 comments on commit 836cb5e

Please sign in to comment.