Skip to content

Commit

Permalink
fixed: top excess area of the reader page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciphrox committed Mar 1, 2025
1 parent 6e7f56c commit 37702e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/assets/styles/varnmala/reader.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@
}

#container__reader {
font-size: min(40rem, 45vw);
font-size: min(40rem, 35vw);
display: grid;
place-items: center;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
place-content: center;
color: var(--main__txt);
height: 100vh;
outline: none;
text-transform: uppercase;
transform: rotate(0deg);
transition: all 0.3s ease-in-out;
will-change: contents;
text-align: center;
min-height: 60vh;
line-height: 1;
padding: 1rem;
gap: 0.5rem;
overflow: hidden;
}

.hide {
Expand Down
3 changes: 1 addition & 2 deletions src/pages/varnmala/reader.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ import BackButton from "@/components/ui/backButton.astro";

<BackButton />
<article id="container__reader">
<span class="letter" id="letter">a</span>
<span class="emoji" id="emoji" role="img" aria-label="apple"> 🍎 </span>
a🍎
</article>
<section class="section--audio hide">
<audio id="audioPlayer" controlslist="nodownload" controls autoplay></audio>
Expand Down

0 comments on commit 37702e0

Please sign in to comment.