From 229aa84668075b6e13716063921f3afa557060ca Mon Sep 17 00:00:00 2001 From: Panayiotis Lipiridis Date: Sun, 3 Jan 2021 20:28:20 +0200 Subject: [PATCH] .excalidraw --- src/components/Stats.scss | 82 ++++++++++++++++++++------------------- 1 file changed, 42 insertions(+), 40 deletions(-) diff --git a/src/components/Stats.scss b/src/components/Stats.scss index a6849f3bc..3fdbfdee6 100644 --- a/src/components/Stats.scss +++ b/src/components/Stats.scss @@ -1,51 +1,53 @@ @import "../css/_variables"; -.Stats { - position: fixed; - top: 64px; - right: 12px; - font-size: 12px; - z-index: 999; +.excalidraw { + .Stats { + position: fixed; + top: 64px; + right: 12px; + font-size: 12px; + z-index: 999; - h3 { - margin: 0 24px 8px 0; - white-space: nowrap; - } + h3 { + margin: 0 24px 8px 0; + white-space: nowrap; + } - .close { - float: right; - height: 16px; - width: 16px; - cursor: pointer; - svg { + .close { + float: right; + height: 16px; + width: 16px; + cursor: pointer; + svg { + width: 100%; + height: 100%; + } + } + + table { width: 100%; - height: 100%; + th { + border-bottom: 1px solid var(--input-border-color); + padding: 4px; + } + tr { + td:nth-child(2) { + min-width: 24px; + text-align: right; + } + } } - } - table { - width: 100%; - th { - border-bottom: 1px solid var(--input-border-color); - padding: 4px; - } - tr { - td:nth-child(2) { - min-width: 24px; - text-align: right; + :root[dir="rtl"] & { + left: 12px; + right: initial; + + h3 { + margin: 0 0 8px 24px; + } + .close { + float: left; } } } - - :root[dir="rtl"] & { - left: 12px; - right: initial; - - h3 { - margin: 0 0 8px 24px; - } - .close { - float: left; - } - } }