Skip to content

Commit 4961a97

Browse files
committed
More css:
* Make join button more buttony * Fix size of dropdown, allow search box to expand * Use flexbox within search box to input can fill the rest of the space
1 parent fb477fa commit 4961a97

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/views/elements/DirectorySearchBox.css‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ limitations under the License.
2121
}
2222

2323
.mx_DirectorySearchBox_container {
24-
display: table;
24+
display: flex;
2525
padding-left: 9px;
26+
padding-right: 9px;
2627
}
2728

2829
.mx_DirectorySearchBox_input {
29-
display: table-cell;
30+
flex-grow: 1;
3031
border: 0;
3132
padding: 0;
3233
font-weight: 300;
@@ -49,6 +50,8 @@ input[type=text].mx_DirectorySearchBox_input:focus {
4950
text-indent: 18px;
5051
font-weight: 600;
5152
font-size: 12px;
53+
user-select: none;
54+
cursor: pointer;
5255
}
5356

5457
.mx_DirectorySearchBox_clear_wrapper {

‎src/skins/vector/css/vector-web/structures/RoomDirectory.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ limitations under the License.
5353

5454
.mx_RoomDirectory_listheader {
5555
display: table;
56+
table-layout: fixed;
5657
width: 100%;
5758
margin-top: 12px;
5859
margin-bottom: 12px;
@@ -65,7 +66,7 @@ limitations under the License.
6566

6667
.mx_RoomDirectory_listheader .mx_NetworkDropdown {
6768
display: table-cell;
68-
width: 100%;
69+
width: 200px;
6970
}
7071

7172
.mx_RoomDirectory_tableWrapper {

0 commit comments

Comments
 (0)