Skip to content

Commit 5e07cf2

Browse files
[RTY-260041]: added respnosiveness
1 parent 72f2ab0 commit 5e07cf2

File tree

1 file changed

+51
-6
lines changed

1 file changed

+51
-6
lines changed

app/static/css/tiny.css

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
*,
2+
*::before,
3+
*::after {
4+
box-sizing: border-box;
5+
}
6+
17
:root {
28
--bg: #0a0a0c;
39
--glass: rgba(255, 255, 255, 0.03);
@@ -14,6 +20,7 @@ body {
1420
margin: 0;
1521
overflow-x: hidden;
1622
background-image: radial-gradient(circle at 50% -20%, #1e1e2e 0%, transparent 50%);
23+
1724
}
1825

1926

@@ -30,12 +37,13 @@ body.light-theme {
3037
}
3138

3239
.main-layout {
33-
max-width: 940px;
40+
max-width: 870px;
3441
margin: 0 auto;
3542
padding: 6rem 1rem 4rem;
3643
display: flex;
3744
flex-direction: column;
3845
gap: 2rem;
46+
flex: 1;
3947
}
4048

4149
.page {
@@ -53,7 +61,7 @@ body.light-theme {
5361
justify-content: space-between;
5462
padding: 0 10px;
5563
box-sizing: border-box;
56-
64+
overflow: hidden;
5765
background: var(--glass);
5866
border-bottom: 1px solid var(--glass-border);
5967
z-index: 1000;
@@ -94,6 +102,9 @@ body.light-theme .app-header {
94102
display: flex;
95103
gap: 26px;
96104
margin: 0 auto;
105+
flex-wrap: wrap;
106+
white-space: nowrap;
107+
flex-shrink: 1;
97108
}
98109

99110
.nav-link,
@@ -167,9 +178,25 @@ body.dark-theme .app-header {
167178
}
168179

169180
@media (max-width: 600px) {
170-
.logo {
171-
font-size: 1.2rem;
181+
.app-logo {
182+
transform: scale(0.9);
183+
}
184+
185+
.app-name {
186+
font-size: 1.1rem;
172187
}
188+
189+
190+
}
191+
192+
@media (max-width: 700px) {
193+
194+
.header-nav {
195+
flex-wrap: wrap;
196+
justify-content: center;
197+
gap: 14px;
198+
}
199+
173200
}
174201

175202
/* Hero input */
@@ -380,6 +407,23 @@ body.dark-theme .app-header {
380407
font-weight: 700;
381408
}
382409

410+
@media (max-width: 768px) {
411+
412+
.input-wrapper {
413+
flex-direction: column;
414+
}
415+
416+
.btn-primary {
417+
width: 100%;
418+
}
419+
420+
.scroll-container {
421+
padding-left: 12px;
422+
padding-right: 12px;
423+
}
424+
425+
}
426+
383427
/* ===============================
384428
MODERN GLASS RECENT TABLE
385429
================================= */
@@ -394,6 +438,7 @@ body.dark-theme .app-header {
394438
.recent-table-wrapper {
395439
width: 100%;
396440
overflow-x: auto;
441+
-webkit-overflow-scrolling: touch;
397442
}
398443

399444
/* ===============================
@@ -406,7 +451,7 @@ body.dark-theme .app-header {
406451
border-radius: 12px;
407452
overflow: hidden;
408453
table-layout: fixed;
409-
min-width: 800px;
454+
min-width: 720px;
410455
}
411456

412457
.recent-table thead {
@@ -583,7 +628,7 @@ footer.big-footer {
583628
background: var(--bg);
584629
border-top: 1px solid var(--glass-border);
585630
padding: 4rem 1rem 2rem;
586-
margin-top: 4rem;
631+
margin-top: auto;
587632
}
588633

589634
.footer-grid {

0 commit comments

Comments
 (0)