* Fix flowchart block css bug.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
.guide-block .flowchart .flow-item > div:before {border-left-color: #fff; z-index: 1;}
|
||||
.guide-block .flowchart .flow-item > div > div {display: flow-root; overflow: hidden;}.ie-8 .flow-item > div {margin-right: 10px}.flow-item-0 > div {color: #FFF; font-weight: 400;}
|
||||
.guide-block .flowchart .flow-item-0 > div:before {display: none;}
|
||||
.guide-block .flowchart {.flow-item-1, .flow-item-2, .flow-item-3, .flow-item-4, .flow-item-5 {background-image: url('static/svg/arrow-white.svg');}}
|
||||
.guide-block .flowchart .flow-item-arrow {background-image: url('static/svg/arrow-white.svg');}
|
||||
.guide-block .flowchart .flow-item-display {overflow: hidden; white-space:nowrap; text-overflow: clip; font-size: 12px;}
|
||||
|
||||
.guide-block .theme-switch div.theme-default {color: #3785ff;}
|
||||
|
||||
@@ -28,13 +28,14 @@ function printFlowchart()
|
||||
{
|
||||
$items[] = div
|
||||
(
|
||||
set('class', 'flow-item flow-item-' . $index++),
|
||||
set('class', "flow-item flow-item-$index " . ($index >= 1 ? 'flow-item-arrow' : '')),
|
||||
div
|
||||
(
|
||||
set('class', 'flow-item-display'),
|
||||
$flowItem
|
||||
)
|
||||
);
|
||||
$index ++;
|
||||
}
|
||||
$charts[] = div
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user