From 9c237d09e6fa5ae13d90251280c84533afa4e636 Mon Sep 17 00:00:00 2001 From: Louis Lam <louislam@users.noreply.github.com> Date: Sun, 13 Oct 2024 21:11:20 +0800 Subject: [PATCH] Update css for terminal --- frontend/src/components/Terminal.vue | 2 +- frontend/src/pages/Compose.vue | 2 +- frontend/src/styles/main.scss | 7 ------- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/Terminal.vue b/frontend/src/components/Terminal.vue index 5452738..2a7cd9a 100644 --- a/frontend/src/components/Terminal.vue +++ b/frontend/src/components/Terminal.vue @@ -253,7 +253,7 @@ export default { <style lang="scss"> .terminal { - padding: 10px 15px; + background-color: black !important; height: 100%; } </style> diff --git a/frontend/src/pages/Compose.vue b/frontend/src/pages/Compose.vue index ec5f057..5c632c9 100644 --- a/frontend/src/pages/Compose.vue +++ b/frontend/src/pages/Compose.vue @@ -158,7 +158,7 @@ :endpoint="endpoint" :rows="combinedTerminalRows" :cols="combinedTerminalCols" - style="height: 350px;" + style="height: 315px;" ></Terminal> </div> </div> diff --git a/frontend/src/styles/main.scss b/frontend/src/styles/main.scss index 9a1e8c4..f9ed11b 100644 --- a/frontend/src/styles/main.scss +++ b/frontend/src/styles/main.scss @@ -656,13 +656,6 @@ $shadow-box-padding: 20px; } } -.main-terminal { - .xterm-viewport { - border-radius: 10px; - background-color: $dark-bg !important; - } -} - code { padding: .2em .4em; margin: 0;