From 04b79631d724ff14251dca9df157133bdbec74a0 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 27 Jan 2024 21:49:17 -0500 Subject: [PATCH] Get rid of flexbox. --- src/OrgAst.module.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; }