Fixed sidebar width

main
Isaiah Odhner 2015-10-17 20:43:21 -04:00
parent 83894dffdd
commit f9ec861def
2 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,8 @@
* Help Topics
* Resizable panes
* Resizable window
* Link-esque things
* Popups (I'll probably make the text selectable within the popups)
* Related topics (I'll probably make this a heading with links instead of the weird context menu thing)
@ -23,6 +25,8 @@
* Transparency
* Replace "To use black and white instead of color"?
* Multiplayer / collaboration / sharing the document
* Index
* Search
* Visual

View File

@ -259,6 +259,9 @@ html, body, .jspaint {
}
.help-window .contents {
background: white;
flex-basis: 300px; /* normally the default is 200px, but that leaves a scrollbar and we don't have rollover viewing of longer titles (@TODO) */
flex-grow: 0;
flex-shrink: 0;
overflow: auto;
}
.help-window ul {
@ -267,6 +270,7 @@ html, body, .jspaint {
}
.help-window li {
display: block;
white-space: nowrap;
}
.help-window .folder:not(.expanded) ul {
display: none;