From 3011def9f19da2e33cfa685f9879c3fde8f4f15e Mon Sep 17 00:00:00 2001 From: mic Date: Thu, 3 Apr 2025 21:49:57 +0200 Subject: [PATCH] add hyprland warning when using linux. fixes #318 --- options/mzta-options.css | 8 ++++++-- options/mzta-options.html | 7 +++++-- options/mzta-options.js | 9 ++++++++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/options/mzta-options.css b/options/mzta-options.css index 0727c930..e556eee2 100644 --- a/options/mzta-options.css +++ b/options/mzta-options.css @@ -174,7 +174,11 @@ input.option-input[type="text"]{ display: none; } -#owl_warning div{ +#hyprland_warning{ + display: none; +} + +.warning{ color: white; font-style: italic; background-color: red; @@ -184,7 +188,7 @@ input.option-input[type="text"]{ margin-bottom: 5px; } -#owl_warning div a{ +.warning a{ background-color: white; padding:0px 3px; border-radius: 4px; diff --git a/options/mzta-options.html b/options/mzta-options.html index ab5c481e..30994011 100644 --- a/options/mzta-options.html +++ b/options/mzta-options.html @@ -12,10 +12,13 @@
__MSG_prefs_SurveyLinkText__
__MSG_prefs_SurveyLinkText2__
-
__MSG_prefs_OptionText_owl_warning__ __MSG_customPrompts_managePrompts_help__
+
__MSG_prefs_OptionText_owl_warning__ __MSG_customPrompts_managePrompts_help__
+ + + Set height and width to 0 if you're using hyprland! - __MSG_prefs_OptionText_chatgpt_win_text__ + __MSG_prefs_OptionText_chatgpt_win_text__