forked from rDrama/rDrama
Fix flex issue on firefox
parent
b2b63ee23e
commit
c69640c4f3
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "chat",
|
"name": "chat",
|
||||||
"version": "0.1.20",
|
"version": "0.1.21",
|
||||||
"main": "./src/index.tsx",
|
"main": "./src/index.tsx",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
.UserList {
|
.UserList {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.UserList-heading {
|
.UserList-heading {
|
||||||
|
@ -15,10 +9,16 @@
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.UserList-heading h5 {
|
.UserList-heading h5 {
|
||||||
margin-right: 2rem;
|
margin-right: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.UserList ul {
|
||||||
|
max-height: calc(var(--vh, 1vh) * 50);
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.UserList ul::-webkit-scrollbar {
|
.UserList ul::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue