我想使用用户棒-man,但使用不同的名称,而不是默认的“用户”。
如果我用@Starter(User),粘人就会出现,但是如果我用@Starter(Buyer),粘人就会消失。
发布于 2020-11-12 11:40:40
ZenUML网络应用程序和铬延伸都支持自定义CSS。在CSS选项卡中放置以下CSS将解决您的问题:
.lifeline.starter .participant:before {
content: "";
display: block;
height: 45px;
width: 88px;
background-size: 80px;
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='166' height='116'%3E%3Cg fill='none' stroke='%23000'%3E%3Cpath d='M91.166 19.72a13.195 13.069 0 11-26.39 0 13.195 13.069 0 1126.39 0z' transform='matrix(1.1316 0 0 1.14252 -5.728 4.262)'/%3E%3Cpath d='M82.498 42.266v46.057m0-.569l-19.446 16.542M82.53 87.754l21.34 15.468m-41.795-48.36l41.858-.032'/%3E%3C/g%3E%3C/svg%3E");
background-position: 50%;
background-repeat: no-repeat;
}
.lifeline.starter .participant {
border: none;
}

https://stackoverflow.com/questions/64802507
复制相似问题