Bug 1243598 - Make sure the inspector sidebar overflows correctly r=bgrins

This commit is contained in:
Gabriel Luong 2016-02-17 11:13:01 -05:00
parent 3c3670f784
commit 5192b095d2
3 changed files with 13 additions and 7 deletions

View File

@ -7,8 +7,11 @@
margin: 0;
display : flex;
flex-direction: column;
height: 100%;
width: 100%;
/* Bug 1243598 - Reduce the container height by the tab height to make room
for the tabs above. */
height: calc(100% - 24px);
position: absolute;
}
#browser-style-checkbox {
@ -20,7 +23,6 @@
#propertyContainer {
-moz-user-select: text;
overflow: auto;
height: 0px;
flex: auto;
}

View File

@ -3,18 +3,20 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#sidebar-panel-fontinspector {
margin: 0;
display: flex;
flex-direction: column;
height: 100%;
margin: 0;
padding-bottom: 20px;
width: 100%;
/* Bug 1243598 - Reduce the container height by the tab height to make room
for the tabs above. */
height: calc(100% - 24px);
position: absolute;
}
#font-container {
overflow: auto;
flex: auto;
height: 0px;
}
#all-fonts {

View File

@ -17,15 +17,17 @@
margin: 0;
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
/* Bug 1243598 - Reduce the container height by the tab height to make room
for the tabs above. */
height: calc(100% - 24px);
position: absolute;
}
#ruleview-container {
-moz-user-select: text;
overflow: auto;
flex: auto;
height: 0px;
}
#ruleview-container.non-interactive {