mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
feat(header): new glass header on channel view
This commit is contained in:
@@ -30,6 +30,7 @@ const Routes = styled.div`
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
background: var(--primary-background);
|
||||
`;
|
||||
|
||||
|
||||
@@ -35,6 +35,12 @@ const ChannelMain = styled.div`
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
flex-direction: row;
|
||||
|
||||
> * > ::-webkit-scrollbar-thumb {
|
||||
width: 4px;
|
||||
background-clip: content-box;
|
||||
border-top: 48px solid transparent;
|
||||
}
|
||||
`;
|
||||
|
||||
const ChannelContent = styled.div`
|
||||
|
||||
@@ -39,8 +39,15 @@ const Area = styled.div`
|
||||
min-height: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
padding-top: 48px;
|
||||
word-break: break-word;
|
||||
|
||||
> * > ::-webkit-scrollbar-thumb {
|
||||
width: 4px;
|
||||
background-clip: content-box;
|
||||
border-top: 80px solid transparent;
|
||||
}
|
||||
|
||||
> div {
|
||||
display: flex;
|
||||
min-height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user