mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
use 100% width
This commit is contained in:
parent
b25f850f1c
commit
8a53daa3fa
@ -368,6 +368,9 @@ export class PostsListsComponent extends React.Component {
|
|||||||
|
|
||||||
return <AutoSizer
|
return <AutoSizer
|
||||||
disableWidth
|
disableWidth
|
||||||
|
style={{
|
||||||
|
width: "100%",
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{({ height }) => {
|
{({ height }) => {
|
||||||
console.log("[PostList] AutoSizer height update => ", height)
|
console.log("[PostList] AutoSizer height update => ", height)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.postList {
|
.postList {
|
||||||
width: fit-content;
|
width: 100%;
|
||||||
|
|
||||||
// WARN: Only use if is a performance issue (If is using virtualized list)
|
// WARN: Only use if is a performance issue (If is using virtualized list)
|
||||||
//will-change: transform;
|
//will-change: transform;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user