Browse Source

Cleaned up some css

css_transitions
jos 10 years ago
parent
commit
18f73d78bd
2 changed files with 1 additions and 19 deletions
  1. +0
    -4
      src/timeline/component/css/item.css
  2. +1
    -15
      test/timeline.html

+ 0
- 4
src/timeline/component/css/item.css View File

@ -57,10 +57,6 @@
max-width: 100%; max-width: 100%;
} }
.vis.timeline .item.range.overflow .content {
overflow: visible;
}
.vis.timeline .item.line { .vis.timeline .item.line {
padding: 0; padding: 0;
position: absolute; position: absolute;

+ 1
- 15
test/timeline.html View File

@ -15,15 +15,6 @@
#visualization .itemset { #visualization .itemset {
/*background: rgba(255, 255, 0, 0.5);*/ /*background: rgba(255, 255, 0, 0.5);*/
} }
/*
.vis.timeline .item.range .content {
overflow: hidden;
max-width: none;
}
*/
</style> </style>
</head> </head>
@ -79,12 +70,7 @@
{_id: 2, content: 'item 2', start: now.clone().add('days', -2).toDate() }, {_id: 2, content: 'item 2', start: now.clone().add('days', -2).toDate() },
{_id: 3, content: 'item 3', start: now.clone().add('days', 2).toDate()}, {_id: 3, content: 'item 3', start: now.clone().add('days', 2).toDate()},
{ {
_id: 4, content: 'item 4 asdfjkadsf adksfk adskfadks aksdfk asdfkkadkskafdskdfs ',
start: now.clone().add('days', 0).toDate(),
end: now.clone().add('days', 7).toDate(), className: 'overflow'
},
{
_id: 7, content: 'item 7 asdfjkadsf adksfk adskfadks aksdfk asdfkkadkskafdskdfs ',
_id: 4, content: 'item 4 ',
start: now.clone().add('days', 0).toDate(), start: now.clone().add('days', 0).toDate(),
end: now.clone().add('days', 7).toDate() end: now.clone().add('days', 7).toDate()
}, },

Loading…
Cancel
Save