Skip to content

Commit 2d889df

Browse files
committed
[RZA-250154]: mobile splash
1 parent 21ea0b8 commit 2d889df

File tree

17 files changed

+190
-190
lines changed

17 files changed

+190
-190
lines changed

src/assets/styles/cards/stack.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
padding: 1rem 0.5rem;
393393
justify-content: flex-start;
394394
}
395-
.alphabet-container{
395+
.alphabet-container {
396396
height: 600px;
397397
gap: 0rem;
398398
}

src/assets/styles/draw.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@
351351
z-index: 100;
352352
}
353353

354-
*:focus {
355-
outline: none;
356-
box-shadow: none;
354+
select {
355+
color: white;
357356
}

src/assets/styles/globals.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,4 +232,9 @@
232232
appearance: base-select;
233233
border: none;
234234
}
235+
236+
*:focus {
237+
outline: none;
238+
box-shadow: none;
239+
}
235240
}

src/assets/styles/mobile-splash.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
align-items: center;
1111
padding: 1rem;
1212
transition: background-color 0.3s ease;
13-
content-visibility: visible;
13+
display: none;
14+
content-visibility: hidden;
1415
}
1516

1617
@container splash (max-width: 768px) {

src/assets/styles/poem-dialog.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,24 +88,24 @@
8888
width: 80%;
8989
height: max-content;
9090
box-sizing: border-box;
91-
margin: auto
92-
91+
margin: auto;
9392
}
9493

9594
.modal-title {
96-
font-size: 1.50rem;
95+
font-size: 1.5rem;
9796
}
9897

9998
.lines {
10099
font-size: 1rem;
101100
}
102101

103102
.modal-content > .model-buttons > button.speaker-btn,
104-
.modal-content > .model-buttons > button.close{
103+
.modal-content > .model-buttons > button.close {
105104
width: 36px;
106-
height: 36px;
107-
}
108-
.modal-content > .model-buttons > button svg {
109-
width: 32px;
110-
height: 32px;}
105+
height: 36px;
106+
}
107+
.modal-content > .model-buttons > button svg {
108+
width: 32px;
109+
height: 32px;
110+
}
111111
}

src/assets/styles/varnmala/reader.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
padding: 0.5rem;
2929
}
3030

31-
.container__reader>.letter {
31+
.container__reader > .letter {
3232
width: 100%;
3333
box-sizing: border-box;
3434
margin-left: 4rem;
@@ -187,12 +187,12 @@
187187
font-size: min(200rem, 70vw);
188188
}
189189

190-
.container__reader>.letter {
190+
.container__reader > .letter {
191191
justify-content: center;
192192
margin-left: auto;
193193
}
194194

195195
.mute-button {
196196
font-size: min(1.5rem, 6vw);
197197
}
198-
}
198+
}

src/components/MobileSplash.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import logoImage from "public/assets/images/abcd.png";
55
const { stay } = Astro.props;
66
---
77

8-
<div id="mobile-splash-wrapper" class="container_splash">
8+
<div id="mobile-splash-wrapper" class="container__splash">
99
<div class="container_splash_card">
1010
<Image src={logoImage} alt="logo of abcd" width="50" height="50" />
1111
<h1 class="container_splash_heading"><strong>This page is best experienced on desktop</strong></h1>

src/components/Speaker.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,12 @@ declare global {
1818
*/
1919
---
2020

21-
<style>
21+
<style is:inline>
2222
.speaker-controls {
2323
display: flex;
2424
align-items: center;
2525
gap: 0.5rem;
26+
cp;pr"#fff;
2627
}
2728

2829
#voice-dropdown {

src/components/about/FeaturesSection.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const features: Feature[] = [
155155
<style>
156156
.features-grid {
157157
display: grid;
158-
grid-template-columns: repeat(auto-fit, minmax(22%, 1fr));
158+
grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
159159
gap: 2rem;
160160
}
161161

src/pages/akshar.astro

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ const meta = {
1616
<BackIcon />
1717
<Fragment slot="header-right">
1818
<SharePopover />
19-
<Help
20-
title="Indic Alphabets"
21-
description="Learn alphabets of different Indian languages by alphabet comparison."
22-
/>
19+
<Help title="Indic Alphabets" description="Learn alphabets of different Indian languages by alphabet comparison." />
2320
</Fragment>
2421
<IndicLanguageGrid primary="hi" secondary="kn" />
2522
</BaseLayout>

0 commit comments

Comments
 (0)