From 3584fec4068df246549b98498fbe402075127837 Mon Sep 17 00:00:00 2001 From: Red Adaya Date: Fri, 8 Mar 2024 13:31:57 +0800 Subject: [PATCH] fix textfield placeholder color --- src/app/common/elements/textfield.less | 4 ++++ src/app/history/history.less | 19 ------------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/src/app/common/elements/textfield.less b/src/app/common/elements/textfield.less index 66d78624c..015770a09 100644 --- a/src/app/common/elements/textfield.less +++ b/src/app/common/elements/textfield.less @@ -65,6 +65,10 @@ &.offset-left { padding: 5px 16px 5px 0; } + + input::placeholder { + color: var(--form-element-placeholder-color); + } } } diff --git a/src/app/history/history.less b/src/app/history/history.less index 14fb3e24d..d29da321d 100644 --- a/src/app/history/history.less +++ b/src/app/history/history.less @@ -51,25 +51,6 @@ .history-search { padding: 0 10px 10px 10px; - input { - border: none; - border-radius: 4px; - font-size: 1em; - padding: 0.5em 1em; - background-color: var(--form-element-bg-color); - color: var(--app-text-color); - } - - .main-search { - .field { - width: 80%; - } - - input::placeholder { - color: var(--form-element-placeholder-color); - } - } - .advanced-search { display: flex; flex-direction: row;