mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 14:29:48 +02:00
Merge branch 'UpdateClassMemberHandling' of https://github.com/mermaid-js/mermaid into UpdateClassMemberHandling
This commit is contained in:
@@ -381,8 +381,7 @@ export const drawNote = function (elem, note, conf, diagObj) {
|
|||||||
* @param {{ padding: string; textHeight: string }} conf The configuration for the member
|
* @param {{ padding: string; textHeight: string }} conf The configuration for the member
|
||||||
*/
|
*/
|
||||||
const addTspan = function (textEl, member, isFirst, conf) {
|
const addTspan = function (textEl, member, isFirst, conf) {
|
||||||
const displayText = member.getDisplayDetails().displayText;
|
const { displayText, cssStyle } = member.getDisplayDetails();
|
||||||
const cssStyle = member.getDisplayDetails().cssStyle;
|
|
||||||
const tSpan = textEl.append('tspan').attr('x', conf.padding).text(displayText);
|
const tSpan = textEl.append('tspan').attr('x', conf.padding).text(displayText);
|
||||||
|
|
||||||
if (cssStyle !== '') {
|
if (cssStyle !== '') {
|
||||||
|
Reference in New Issue
Block a user