Skip to content

Commit 4711356

Browse files
authored
Merge pull request element-hq#5330 from vector-im/matthew/cosmetics
fix groupview header editing visuals (pt 1)
2 parents e5c128f + 7bb0ed4 commit 4711356

4 files changed

Lines changed: 84 additions & 396 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;
Lines changed: 25 additions & 126 deletions
Loading
Lines changed: 26 additions & 158 deletions
Loading

0 commit comments

Comments
 (0)