mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 05:48:07 +01:00
Add the shrinking glitchy elefriend. #294.
This commit is contained in:
parent
835eec8a4c
commit
1e0b707018
2 changed files with 26 additions and 5 deletions
|
@ -94,9 +94,12 @@ class Drawer extends React.Component {
|
||||||
submitted={submitted}
|
submitted={submitted}
|
||||||
value={searchValue}
|
value={searchValue}
|
||||||
/>
|
/>
|
||||||
<div {...drawerAttrs}>
|
<div className='contents'>
|
||||||
<DrawerAccount account={account} />
|
<DrawerAccount account={account} />
|
||||||
|
<div className='drawer__inner'>
|
||||||
<Composer />
|
<Composer />
|
||||||
|
{multiColumn && <div className="mastodon mbstobon-bg-1" />}
|
||||||
|
</div>
|
||||||
<DrawerResults
|
<DrawerResults
|
||||||
results={results}
|
results={results}
|
||||||
visible={submitted && !searchHidden}
|
visible={submitted && !searchHidden}
|
||||||
|
|
|
@ -50,11 +50,29 @@
|
||||||
contain: strict;
|
contain: strict;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.drawer__inner {
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow: hidden;
|
||||||
|
overflow-y: auto;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
|
||||||
|
.mastodon {
|
||||||
|
flex: 1;
|
||||||
|
|
||||||
@for $i from 1 through 3 {
|
@for $i from 1 through 3 {
|
||||||
.mbstobon-bg-#{$i} {
|
&.mbstobon-bg-#{$i} {
|
||||||
background: url("~flavours/glitch/images/mbstobon-ui-#{$i}.png") no-repeat left bottom / contain;
|
background: url("~flavours/glitch/images/mbstobon-ui-#{$i}.png") no-repeat left bottom / contain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer--header {
|
.drawer--header {
|
||||||
|
|
Loading…
Reference in a new issue