Browse Source

Renamed class `.vis-item-frame` to `.vis-item-overflow`

flowchartTest
jos 9 years ago
parent
commit
61108f393e
5 changed files with 6 additions and 6 deletions
  1. +2
    -2
      examples/timeline/18_range_overflow.html
  2. +1
    -1
      lib/timeline/component/css/item.css
  3. +1
    -1
      lib/timeline/component/item/BackgroundItem.js
  4. +1
    -1
      lib/timeline/component/item/RangeItem.js
  5. +1
    -1
      test/timeline.html

+ 2
- 2
examples/timeline/18_range_overflow.html View File

@ -11,7 +11,7 @@
font-family: sans-serif;
}
.vis-item .vis-item-frame {
.vis-item .vis-item-overflow {
overflow: visible;
}
</style>
@ -22,7 +22,7 @@
In case of ranges being spread over a wide range of time, it can be interesting to have the text contents of the ranges overflow the box. This can be achieved by changing the overflow property of the contents to visible with css:
</p>
<pre>
.vis-item .vis-item-frame {
.vis-item .vis-item-overflow {
overflow: visible;
}
</pre>

+ 1
- 1
lib/timeline/component/css/item.css View File

@ -57,7 +57,7 @@
margin: 0;
}
.vis-item .vis-item-frame {
.vis-item .vis-item-overflow {
position: relative;
width: 100%;
height: 100%;

+ 1
- 1
lib/timeline/component/item/BackgroundItem.js View File

@ -66,7 +66,7 @@ BackgroundItem.prototype.redraw = function() {
// frame box (to prevent the item contents from overflowing
dom.frame = document.createElement('div');
dom.frame.className = 'vis-item-frame';
dom.frame.className = 'vis-item-overflow';
dom.box.appendChild(dom.frame);
// contents box

+ 1
- 1
lib/timeline/component/item/RangeItem.js View File

@ -62,7 +62,7 @@ RangeItem.prototype.redraw = function() {
// frame box (to prevent the item contents from overflowing
dom.frame = document.createElement('div');
dom.frame.className = 'vis-item-frame';
dom.frame.className = 'vis-item-overflow';
dom.box.appendChild(dom.frame);
// contents box

+ 1
- 1
test/timeline.html View File

@ -23,7 +23,7 @@
.vis-timeline .vis-item.vis-range .vis-drag-left,
.vis-timeline .vis-item.vis-range .vis-drag-right {
/*width: 40px;*/
background: rgba(255,255,255,0.5);
background: rgba(255,0,0,0.5);
}
#visualization .vis-grid.vis-vertical.odd {

Loading…
Cancel
Save