From 5c3d2d056018912ccc623a922af9685e4f3d05d6 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 28 Sep 2024 22:40:53 +0800 Subject: style: prettier for stylelint --- src/css/index.css | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/css/index.css') diff --git a/src/css/index.css b/src/css/index.css index a17ecce..221ee69 100644 --- a/src/css/index.css +++ b/src/css/index.css @@ -12,7 +12,7 @@ body { width: 100%; height: 100vh; - &[data-mode="editing"] { + &[data-mode='editing'] { display: flex; align-items: stretch; gap: 0.5em; @@ -51,8 +51,9 @@ body { display: flex; box-sizing: border-box; flex-direction: column; - height: 100%; align-items: stretch; + + height: 100%; gap: 0.5em; .CodeMirror { @@ -123,14 +124,15 @@ body { .container__suggestion { display: flex; + justify-content: space-between; + align-items: center; + overflow: hidden; height: fit-content; cursor: pointer; - justify-content: space-between; min-height: 2rem; white-space: nowrap; - align-items: center; &:not(:first-child) { border-top: 1px solid rgb(203 213 225); @@ -165,12 +167,13 @@ body { .menu-item { display: flex; + justify-content: space-between; + padding: 0.5rem; z-index: 9999; cursor: pointer; - justify-content: space-between; &:hover { background: rgb(226 232 240); -- cgit v1.2.3-70-g09d2