From 6dc640f863d60eabad1ad38fe39af8c13b827095 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Tue, 4 Jun 2024 02:49:18 +0530 Subject: [PATCH] fixing disabled --- src/pug/templates/macros.pug | 2 +- src/stylus/style.styl | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pug/templates/macros.pug b/src/pug/templates/macros.pug index 3be20b9..7b766f3 100644 --- a/src/pug/templates/macros.pug +++ b/src/pug/templates/macros.pug @@ -74,7 +74,7 @@ script#macros-template(type="text/x-template") |  Yes a(download, title="Download Macros", :href="download_macros_url", style="text-decoration: none;", :disabled="!can_download_macros") - button.config-button.button-blue(style="width:160px;") Download Macros + button.config-button.button-blue(style="width:160px;", :disabled="!can_download_macros") Download Macros .warning-box p diff --git a/src/stylus/style.styl b/src/stylus/style.styl index b7f2234..fa962a4 100644 --- a/src/stylus/style.styl +++ b/src/stylus/style.styl @@ -685,6 +685,11 @@ span.unit #macros width 104% + a.disabled + color gray + text-decoration none + pointer-events none + .warning-box display flex background-color #F3FF00 @@ -696,7 +701,6 @@ span.unit align-items center justify-content center - .new-gcode height 13rem width 23rem