Skip to content

Commit 6e24f4b

Browse files
committed
fix editing visuals
1 parent e5c128f commit 6e24f4b

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

‎src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss‎

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,23 @@ limitations under the License.
5454
pointer-events: none;
5555
}
5656

57+
.mx_GroupView_editable {
58+
border-bottom: 1px solid $strong-input-border-color ! important;
59+
min-width: 150px;
60+
cursor: text;
61+
}
62+
63+
.mx_GroupView_editable:focus {
64+
border-bottom: 1px solid $accent-color ! important;
65+
outline: none;
66+
box-shadow: none;
67+
}
68+
69+
.mx_GroupView_header_name:hover div:not(.mx_GroupView_editable) {
70+
color: $accent-color;
71+
cursor: pointer;
72+
}
73+
5774
.mx_GroupView_avatarPicker {
5875
position: relative;
5976
}
@@ -103,10 +120,6 @@ limitations under the License.
103120
border-bottom: 1px solid transparent;
104121
}
105122

106-
.mx_GroupView_header_name input, .mx_GroupView_header_shortDesc input {
107-
width: 400px;
108-
}
109-
110123
.mx_GroupView_header_shortDesc {
111124
vertical-align: bottom;
112125
float: left;

0 commit comments

Comments
 (0)