Remove studio vertical scrolling
This commit is contained in:
1 parent
c93e985a47
commit
eea360600b
2 files changed
+52
-5
No files matched your search
+4
-1
@@ -22,7 +22,10 @@ function App() {
|
|||||||
return (
|
return (
|
||||||
<IonApp>
|
<IonApp>
|
||||||
<IonPage>
|
<IonPage>
|
||||||
<IonContent fullscreen className="app-content">
|
<IonContent
|
||||||
|
fullscreen
|
||||||
|
className={`app-content${isStudioView ? ' app-content-studio' : ''}`}
|
||||||
|
>
|
||||||
<div className="app-shell">
|
<div className="app-shell">
|
||||||
<AppHeader activeView={activeView} onNavigate={navigateTo} />
|
<AppHeader activeView={activeView} onNavigate={navigateTo} />
|
||||||
{isStudioView ? (
|
{isStudioView ? (
|
||||||
|
|||||||
+48
-4
@@ -71,6 +71,10 @@ ion-content.app-content {
|
|||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ion-content.app-content-studio {
|
||||||
|
--overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
/* Application shell and studio heading */
|
/* Application shell and studio heading */
|
||||||
.app-shell {
|
.app-shell {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
@@ -319,8 +323,8 @@ ion-content.app-content {
|
|||||||
.studio-heading h1 {
|
.studio-heading h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--ink);
|
color: var(--ink);
|
||||||
font: 500 clamp(24px, 6vw, 40px)/1.1 var(--display);
|
font: 500 clamp(22px, 5vw, 34px)/1.1 var(--display);
|
||||||
letter-spacing: -1.1px;
|
letter-spacing: -0.9px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1301,8 +1305,8 @@ ion-popover.instrument-picker-popover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.studio-heading h1 {
|
.studio-heading h1 {
|
||||||
font-size: clamp(20px, 5.5vw, 32px);
|
font-size: clamp(18px, 4.5vw, 26px);
|
||||||
letter-spacing: -0.75px;
|
letter-spacing: -0.6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.template-prompt {
|
.template-prompt {
|
||||||
@@ -1360,6 +1364,46 @@ ion-popover.instrument-picker-popover {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-height: 1100px) {
|
||||||
|
.app-shell {
|
||||||
|
padding-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.studio {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.studio-heading {
|
||||||
|
padding: 14px 0 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.studio-heading h1 {
|
||||||
|
font-size: clamp(17px, 4.2vw, 25px);
|
||||||
|
letter-spacing: -0.5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.template-prompt {
|
||||||
|
margin-top: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.intro-copy {
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.orbit-card {
|
||||||
|
padding: 12px 10px 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.timeline-wrap {
|
||||||
|
width: min(100%, max(180px, calc(100dvh - 390px)));
|
||||||
|
}
|
||||||
|
|
||||||
|
.sound-legend {
|
||||||
|
gap: 6px 10px;
|
||||||
|
padding-top: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 360px) {
|
@media (max-width: 360px) {
|
||||||
.transport-inner {
|
.transport-inner {
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
|
|||||||
Reference in new issue
Block a user