Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 223baed

Browse files
committed
Makes heights and widths cross browser compatible
1 parent 09667c5 commit 223baed

5 files changed

Lines changed: 26 additions & 0 deletions

File tree

client/src/components/ActivityPane/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
.activity-pane-wrapper {
2+
height: 100%;
23
height: -webkit-fill-available;
4+
height: -moz-available;
5+
height: fill-available;
36
}
47

58
.activity-pane-header {

client/src/components/AnonymousModeLeftSidebar/index.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
.anonymous-left-sidebar-wrapper {
22
width: 20%;
33
background-color: #2f343d;
4+
min-height: 100%;
45
min-height: -webkit-fill-available;
6+
min-height: -moz-available;
7+
min-height: fill-available;
58
display: flex;
69
flex-direction: column;
710
flex-wrap: nowrap;
@@ -33,7 +36,10 @@
3336
background-color: rgb(255 255 255 / 10%);
3437
padding: 10px 20px;
3538
color: white;
39+
width: 100%;
3640
width: -webkit-fill-available;
41+
width: -moz-available;
42+
width: fill-available;
3743
}
3844

3945
.anonymous-left-sidebar-content p {

client/src/components/ChatWindow/index.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
.chatWindow-container {
2+
width: 100%;
23
width: -webkit-fill-available;
4+
width: -moz-available;
5+
width: fill-available;
36
display: flex;
47
position: relative;
58
}
@@ -16,6 +19,9 @@
1619
}
1720

1821
.chatWindow {
22+
width: 100%;
1923
width: -webkit-fill-available;
24+
width: -moz-available;
25+
width: fill-available;
2026
border: none;
2127
}

client/src/components/Login/index.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
justify-content: flex-start;
66
flex-direction: column;
77
align-items: center;
8+
min-height: 100%;
89
min-height: -webkit-fill-available;
10+
min-height: -moz-available;
11+
min-height: fill-available;
12+
min-width: 100%;
913
min-width: -webkit-fill-available;
14+
min-width: -moz-available;
15+
min-width: fill-available;
1016
}
1117

1218
.login-header {
@@ -23,6 +29,8 @@
2329
.login-card {
2430
max-width: 450px;
2531
width: -webkit-fill-available;
32+
width: -moz-available;
33+
width: fill-available;
2634
background-color: white;
2735
padding: 20px;
2836
display:flex;

client/src/components/RoomItem/index.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.room-wrapper{
22
display: flex;
3+
width: 100%;
34
width: -webkit-fill-available;
5+
width: -moz-available;
6+
width: fill-available;
47
padding: 6px 1rem;
58
flex-direction: row;
69
color: #9ea2a8;

0 commit comments

Comments
 (0)