Bug 964263 - Get rid of unused blankspace in css computed-view when resizing the sidebar r=pbrosset

This commit is contained in:
Emerson Veenstra 2014-02-12 09:22:40 +01:00
parent cc97c8947f
commit 8de739d938
3 changed files with 15 additions and 12 deletions

View File

@ -41,7 +41,8 @@ body {
}
.property-name {
width: 50%;
/* -12px is so the expander triangle isn't pushed up above the property */
width: calc(100% - 12px);
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -49,8 +50,7 @@ body {
}
.property-value {
width: 50%;
max-width: 100%;
width: 100%;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -75,7 +75,8 @@ body {
width: 200px;
}
.property-value {
width: auto;
/* -212px is accounting for the 200px property-name and the 12px triangle */
width: calc(100% - 212px);
}
}

View File

@ -59,7 +59,8 @@ body {
}
.property-name {
width: 50%;
/* -12px is so the expander triangle isn't pushed up above the property */
width: calc(100% - 12px);
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -67,8 +68,7 @@ body {
}
.property-value {
width: 50%;
max-width: 100%;
width: 100%;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -93,7 +93,8 @@ body {
width: 200px;
}
.property-value {
width: auto;
/* -212px is accounting for the 200px property-name and the 12px triangle */
width: calc(100% - 212px);
}
}

View File

@ -59,7 +59,8 @@ body {
}
.property-name {
width: 50%;
/* -12px is so the expander triangle isn't pushed up above the property */
width: calc(100% - 12px);
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -67,8 +68,7 @@ body {
}
.property-value {
width: 50%;
max-width: 100%;
width: 100%;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -93,7 +93,8 @@ body {
width: 200px;
}
.property-value {
width: auto;
/* -212px is accounting for the 200px property-name and the 12px triangle */
width: calc(100% - 212px);
}
}