diff --git a/src/skins/vector/css/molecules/RoomHeader.css b/src/skins/vector/css/molecules/RoomHeader.css index 86609959..31d6539a 100644 --- a/src/skins/vector/css/molecules/RoomHeader.css +++ b/src/skins/vector/css/molecules/RoomHeader.css @@ -138,6 +138,16 @@ limitations under the License. visibility: visible; } +.mx_RoomHeader_leaveButton { + visibility: hidden; + margin-top: -1px; +} + +.mx_RoomHeader_wrapper:hover .mx_RoomHeader_leaveButton { + visibility: visible; +} + + .mx_RoomHeader_nameEditing { padding-left: 8px; padding-right: 16px; diff --git a/src/skins/vector/img/leave.svg b/src/skins/vector/img/leave.svg new file mode 100644 index 00000000..84856073 --- /dev/null +++ b/src/skins/vector/img/leave.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + +