From 57c2159b2077f181e3edcd6ce20460024810dea1 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Mon, 14 Oct 2024 12:34:42 +0530 Subject: [PATCH] ui fix --- src/pug/index.pug | 5 +++-- src/stylus/style.styl | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pug/index.pug b/src/pug/index.pug index c345ec1..ed70877 100644 --- a/src/pug/index.pug +++ b/src/pug/index.pug @@ -91,8 +91,9 @@ html(lang="en") .whitespace - button.rotary-button(:class="is_rotary_active && 'active'", @click="toggle_rotary") - img(src="/images/rotary.svg", alt="rotary") + div + button.rotary-button(:class="is_rotary_active && 'active'", @click="toggle_rotary") + img(src="/images/rotary.svg", alt="rotary", style="width:90%;") .video(title="Plug camera into USB.\n" + "Left click to toggle video size.\n" + diff --git a/src/stylus/style.styl b/src/stylus/style.styl index e63171c..d94aecf 100644 --- a/src/stylus/style.styl +++ b/src/stylus/style.styl @@ -97,7 +97,7 @@ tt flex-grow 1 .rotary-button - border none + border 1px solid transparent background transparent cursor pointer width 100px @@ -110,7 +110,7 @@ tt &.active border 1px solid #54ed54 - fill #ccffcb + fill #ccffcb !important .video position relative