From 6fbc291b193c30b283929accba0d312888d89996 Mon Sep 17 00:00:00 2001 From: eight Date: Fri, 21 Jun 2019 03:36:53 +0800 Subject: [PATCH] Fix: single editor doesn't stretch to full height (#728) * Fix: single editor doesn't stretch to full height * Fix: remove redundant selectors --- edit/edit.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/edit/edit.css b/edit/edit.css index 5489a7ad..e9167b2e 100644 --- a/edit/edit.css +++ b/edit/edit.css @@ -777,8 +777,9 @@ html:not(.usercss) .usercss-only, color: #888; } -#sections .single-editor, -#sections > .single-editor:first-child { +/* FIXME: remove the ID selector */ +#sections .single-editor { + height: 100%; margin: 0; padding: 0; display: flex;