From 63882f13688d495b430088f1d308514fabe89672 Mon Sep 17 00:00:00 2001 From: Erfan Mola Date: Mon, 13 Jan 2025 20:38:43 +0330 Subject: [PATCH] Add support for TDesktop --- src/renderer/src/scss/sections/_viewport-desktop.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/scss/sections/_viewport-desktop.scss b/src/renderer/src/scss/sections/_viewport-desktop.scss index 7024f2c..5cfaaca 100644 --- a/src/renderer/src/scss/sections/_viewport-desktop.scss +++ b/src/renderer/src/scss/sections/_viewport-desktop.scss @@ -1,12 +1,15 @@ #viewport-telegram-desktop { display: flex; - width: 100%; - height: 100%; + width: calc(100% - 1rem); + height: calc(100% - 1rem); + margin: 0.5rem; flex-direction: column; position: relative; border-radius: 0.625rem; overflow: hidden; - box-shadow: var(--shadow-deep); + box-shadow: + 0 4px 8px rgba(0, 0, 0, 0.12), + 0 2px 4px rgba(0, 0, 0, 0.08); > header { display: flex;