* Fix flowchart block css bug.

This commit is contained in:
wangyuting
2024-04-23 10:07:09 +08:00
parent d527d492f6
commit cd75e5c25d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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;}
+2 -1
View File
@@ -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
(