mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
fix styles & missing z-index
This commit is contained in:
parent
04a72c80b2
commit
ca90786e92
@ -40,12 +40,16 @@ export default (props) => {
|
|||||||
transform: `translateY(-${y}px)`,
|
transform: `translateY(-${y}px)`,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{
|
<div
|
||||||
render?.component && React.cloneElement(
|
className="page_header"
|
||||||
render?.component,
|
>
|
||||||
render?.options?.props ?? {}
|
{
|
||||||
)
|
render?.component && React.cloneElement(
|
||||||
}
|
render?.component,
|
||||||
|
render?.options?.props ?? {}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}}
|
}}
|
||||||
</Motion>
|
</Motion>
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
gap: 10px;
|
|
||||||
|
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
@ -13,22 +11,29 @@
|
|||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
margin-bottom: 20px;
|
.page_header {
|
||||||
padding: 5px;
|
display: block;
|
||||||
|
margin: 10px 0 20px 0;
|
||||||
|
|
||||||
backdrop-filter: blur(10px);
|
padding: 5px;
|
||||||
|
|
||||||
background-color: rgba(var(--background-color-accent-values), 0.8);
|
gap: 10px;
|
||||||
|
|
||||||
border-radius: 12px;
|
backdrop-filter: blur(10px);
|
||||||
border: 1px solid var(--border-color);
|
background-color: rgba(var(--background-color-accent-values), 0.8);
|
||||||
|
|
||||||
overflow: hidden;
|
border-radius: 12px;
|
||||||
|
border: 1px solid var(--border-color);
|
||||||
|
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
|
transition: all 150ms ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
&.hidden {
|
&.hidden {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -13,6 +13,8 @@
|
|||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
|
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
|
z-index: 150;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tools-bar {
|
.tools-bar {
|
||||||
@ -65,7 +67,7 @@
|
|||||||
|
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
z-index: 50;
|
z-index: 150;
|
||||||
|
|
||||||
-webkit-box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 var(--shadow-color);
|
-webkit-box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 var(--shadow-color);
|
||||||
-moz-box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 var(--shadow-color);
|
-moz-box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 var(--shadow-color);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user