diff --git a/src/OrgAst.module.css b/src/OrgAst.module.css index b2628ed..2ff6af2 100644 --- a/src/OrgAst.module.css +++ b/src/OrgAst.module.css @@ -42,22 +42,18 @@ } .OrgAstNodeType { - display: flex; - align-items: flex-end; background: #6ccff6; padding: 3px; + overflow: hidden; > span:first-child { - display: inline-block; font-size: 1.3rem; font-weight: 700; - flex: 0 0 1; + white-space: nowrap; } > span:nth-child(2) { margin-left: 1rem; - display: inline-block; text-overflow: ellipsis; - flex: 1 0 0; overflow: hidden; white-space: nowrap; }