Positional tweaks for the name, badge and context menu, to better match design in both normal and collapsed states

This commit is contained in:
wmwragg 2016-07-30 12:52:14 +01:00
parent f382946138
commit 4a7d2901ac

View file

@ -40,7 +40,7 @@ limitations under the License.
.mx_RoomTile_name { .mx_RoomTile_name {
display: inline-block; display: inline-block;
position: relative; position: relative;
width: 100px; width: 103px;
vertical-align: middle; vertical-align: middle;
overflow: hidden; overflow: hidden;
/* word-break: break-word; */ /* word-break: break-word; */
@ -54,7 +54,7 @@ limitations under the License.
.mx_RoomTile_name:before { .mx_RoomTile_name:before {
content:''; content:'';
width:100px; width:103px;
height:22px; height:22px;
top: 0px; top: 0px;
left: 0px; left: 0px;
@ -83,7 +83,7 @@ limitations under the License.
.collapsed .mx_RoomTile_badge { .collapsed .mx_RoomTile_badge {
top: -40px; top: -40px;
left: 30px; left: 31px;
min-width: 12px; min-width: 12px;
height: 16px; height: 16px;
border-radius: 16px; border-radius: 16px;