From 11d129c4f87b0f29fcea05edbbf7459872b6e4fe Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Sun, 1 Dec 2024 18:45:33 +0530 Subject: [PATCH] Lebel Rotary Button --- src/pug/index.pug | 1 + src/stylus/style.styl | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pug/index.pug b/src/pug/index.pug index d5e36f4..a2d8c74 100644 --- a/src/pug/index.pug +++ b/src/pug/index.pug @@ -94,6 +94,7 @@ html(lang="en") div button.rotary-button(:disabled="!enable_rotary", :class="is_rotary_active && 'active'", @click="showSwitchRotaryModeDialog") img(src="/images/rotary.svg", alt="rotary", :style="is_rotary_active ? 'width:90%;' : 'width:85%;'") + div.rotary-text Rotary .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 b9634da..1af7448 100644 --- a/src/stylus/style.styl +++ b/src/stylus/style.styl @@ -103,7 +103,7 @@ tt width 100px height 100px border-radius 100px - margin 20px 20px 0 0 + margin 5px 0 5px 0 display flex justify-content center align-items center @@ -121,6 +121,9 @@ tt background #e0e0e0 border 1px solid black cursor not-allowed + + .rotary-text + text-align center .video position relative