Bug 1221732 - Long page titles wrap in the panel conversation list, ui-r=sevaan, r=dmose

This commit is contained in:
Fernando Campo 2015-11-06 13:57:07 -08:00
parent dcca1994a7
commit 88c0ef837d
2 changed files with 10 additions and 5 deletions

View File

@ -262,12 +262,17 @@ body {
.room-list > .room-entry > h2 { .room-list > .room-entry > h2 {
display: inline-block; display: inline-block;
font-size: 1.3rem; vertical-align: middle;
line-height: 2.4rem;
color: #000;
/* See .room-entry-context-item for the margin/size reductions. /* See .room-entry-context-item for the margin/size reductions.
* An extra 16px to make space for the edit button. */ * An extra 16px to make space for the edit button. */
width: calc(100% - 1rem - 32px); width: calc(100% - 1rem - 32px);
font-size: 1.3rem;
line-height: 2.4rem;
color: #000;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
} }
.room-list > .room-entry.room-active:not(.room-opened) > h2 { .room-list > .room-entry.room-active:not(.room-opened) > h2 {

View File

@ -65,7 +65,7 @@ var fakeRooms = [
{ {
"roomToken": "fjdkreFJDer", "roomToken": "fjdkreFJDer",
"decryptedContext": { "decryptedContext": {
"roomName": "Forth Room Name" "roomName": "Fourth Room Name"
}, },
"roomUrl": "http://localhost:3000/rooms/fjdkreFJDer", "roomUrl": "http://localhost:3000/rooms/fjdkreFJDer",
"roomOwner": "Alexis", "roomOwner": "Alexis",
@ -91,7 +91,7 @@ var fakeRooms = [
{ {
"roomToken": "preFLighdf", "roomToken": "preFLighdf",
"decryptedContext": { "decryptedContext": {
"roomName": "Sixth Room Name" "roomName": "Sixth Room Name is a little longer to check the ellipsis"
}, },
"roomUrl": "http://localhost:3000/rooms/preFLighdf", "roomUrl": "http://localhost:3000/rooms/preFLighdf",
"roomOwner": "Alexis", "roomOwner": "Alexis",