Skip to content

Commit 9e5e7be

Browse files
Ciphroxxkeshav
authored andcommitted
added number to varnmala
1 parent c8c8388 commit 9e5e7be

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/assets/styles/varnmala/number.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@
9292
border: 1px solid var(--border);
9393
border-radius: 0.5rem;
9494
box-shadow: 0 4px 12px color-mix(in srgb, var(--text) 15%, transparent);
95-
transition:
96-
opacity 0.2s,
97-
visibility 0.2s;
95+
transition: opacity 0.2s, visibility 0.2s;
9896
display: flex;
9997
align-items: flex-end;
10098
justify-content: center;
@@ -114,7 +112,6 @@
114112
width: 100%;
115113
max-height: 100%;
116114
overflow-y: auto;
117-
grid-template-columns: repeat(4, 1fr);
118115
}
119116

120117
& .variation {

src/pages/varnmala/number.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ const numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
2424
<div class="multiplication__popover">
2525
<div class="variations__grid">
2626
{[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((multiplier) => (
27-
<div class="variation">{number * multiplier}</div>
27+
<div class="variation">
28+
{number} × {multiplier} = {number * multiplier}
29+
</div>
2830
))}
2931
</div>
3032
</div>

0 commit comments

Comments
 (0)