[frontend] Fix mfm element styling
This commit is contained in:
parent
578cd0c925
commit
10e772f2ab
2 changed files with 5 additions and 1 deletions
|
@ -13,4 +13,7 @@
|
|||
|
||||
}
|
||||
}
|
||||
.mfm {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
|
@ -19,8 +19,9 @@ public class MfmRenderer
|
|||
}
|
||||
public static INode RenderMultipleNodes(IEnumerable<MfmNodeTypes.MfmNode> nodes, IDocument document)
|
||||
{
|
||||
var el = document.CreateElement("p");
|
||||
var el = document.CreateElement("span");
|
||||
el.SetAttribute("mfm", "mfm");
|
||||
el.ClassName = "mfm";
|
||||
foreach (var node in nodes)
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Add table
Reference in a new issue