Skip to content

Commit 4e24656

Browse files
Rupesh-Rathorerecursivezero
authored andcommitted
styling updated
1 parent 7421a8e commit 4e24656

File tree

1 file changed

+23
-8
lines changed

1 file changed

+23
-8
lines changed

src/assets/styles/poem-dialog.css

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
.poem-dialog {
22
width: 540px;
33
max-width: 90%;
4-
height: 600px;
4+
height: max-content;
5+
max-height: 600px;
56
border: 3px solid var(--color);
67
border-radius: 24px;
78
background-color: var(--container-bg);
@@ -53,14 +54,16 @@
5354

5455
/* === Title & Lines === */
5556
.modal-title {
56-
margin-top: 3.2rem;
57+
margin-top: 1.2rem;
5758
font-size: 3rem;
5859
font-weight: 600;
5960
text-align: center;
61+
color: var(--primary);
62+
margin-bottom: 0;
6063
}
6164

6265
.lines {
63-
white-space: pre-line;
66+
/*white-space: pre-line;*/
6467
line-height: 1.6;
6568
padding: 0 1rem;
6669
overflow-y: auto;
@@ -82,15 +85,27 @@
8285
/* === Responsive === */
8386
@media (max-width: 480px) {
8487
.poem-dialog {
85-
width: 90%;
86-
height: 400px;
88+
width: 80%;
89+
height: max-content;
90+
box-sizing: border-box;
91+
margin: auto
92+
8793
}
8894

89-
.title {
90-
font-size: 1.25rem;
95+
.modal-title {
96+
font-size: 1.50rem;
9197
}
9298

9399
.lines {
94-
font-size: 0.95rem;
100+
font-size: 1rem;
95101
}
102+
103+
.modal-content > .model-buttons > button.speaker-btn,
104+
.modal-content > .model-buttons > button.close{
105+
width: 36px;
106+
height: 36px;
107+
}
108+
.modal-content > .model-buttons > button svg {
109+
width: 32px;
110+
height: 32px;}
96111
}

0 commit comments

Comments
 (0)