Skip to content

Commit 9f0b2a3

Browse files
Rupesh-Rathorerecursivezero
authored andcommitted
Header > Text and Varanmala > listen -padding
1 parent 0d47cd2 commit 9f0b2a3

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

src/assets/styles/varnmala/reader.css

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@
1818
gap: 0.5rem;
1919
height: max-content;
2020
}
21-
21+
.container__reader > .letter{
22+
width: 100%;
23+
box-sizing: border-box;
24+
margin-left: 4rem;
25+
text-align: center;
26+
}
2227
.hide {
2328
display: none;
2429
}
@@ -168,8 +173,10 @@
168173
.container__reader {
169174
font-size: min(200rem, 70vw);
170175
}
171-
176+
.container__reader > .letter{
177+
margin-left: auto;
178+
}
172179
.mute-button {
173-
font-size: min(2.5rem, 8vw);
180+
font-size: min(1.5rem, 6vw);
174181
}
175182
}

src/layouts/common/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import logoImage from "/public/assets/images/512x512.png";
1212
<span title={APP_NAME}>{APP_NAME}</span>
1313
</a>
1414
</div>
15-
<div class="title text__balance">Welcome to the corner of learning</div>
15+
<div class="title text__balance">Learn with fun</div>
1616

1717
<!--<div class="caption">
1818
<a href="/" class:list={{ "is-active": Astro.url.pathname === "/home" || Astro.url.pathname === "/" }}>Home</a>

src/pages/varnmala/listen.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ import KeyboardTrigger from "@/components/KeyboardTrigger.astro";
3232
/>
3333
</Fragment>
3434

35-
<article id="container__reader" class="container__reader">a🍎</article>
35+
<article id="container__reader" class="container__reader">
36+
<div class="letter">a🍎</div></article>
3637
<section class="section--audio hide">
3738
<audio id="audioPlayer" controlslist="nodownload" controls autoplay></audio>
3839
</section>

0 commit comments

Comments
 (0)