mirror of
https://github.com/usememos/memos.git
synced 2025-02-27 23:05:04 +08:00
fix: hidden priority
This commit is contained in:
parent
1733ed670c
commit
efb3fad194
3 changed files with 3 additions and 3 deletions
web/src/components
|
@ -100,7 +100,7 @@ const DailyMemoDiaryDialog: React.FC<Props> = (props: Props) => {
|
|||
</div>
|
||||
</div>
|
||||
<DatePicker
|
||||
className={`date-picker ${showDatePicker ? "" : "hidden"}`}
|
||||
className={`date-picker ${showDatePicker ? "" : "!hidden"}`}
|
||||
datestamp={currentDateStamp}
|
||||
handleDateStampChange={handleDataPickerChange}
|
||||
/>
|
||||
|
|
|
@ -14,7 +14,7 @@ const MemoFilter: React.FC<FilterProps> = () => {
|
|||
const showFilter = Boolean(tagQuery || (duration && duration.from < duration.to) || memoType || textQuery || shortcut);
|
||||
|
||||
return (
|
||||
<div className={`filter-query-container ${showFilter ? "" : "hidden"}`}>
|
||||
<div className={`filter-query-container ${showFilter ? "" : "!hidden"}`}>
|
||||
<span className="tip-text">Filter:</span>
|
||||
<div
|
||||
className={"filter-item-container " + (shortcut ? "" : "hidden")}
|
||||
|
|
|
@ -68,7 +68,7 @@ const Selector: React.FC<Props> = (props: Props) => {
|
|||
</span>
|
||||
</div>
|
||||
|
||||
<div className={`items-wrapper ${showSelector ? "" : "hidden"}`}>
|
||||
<div className={`items-wrapper ${showSelector ? "" : "!hidden"}`}>
|
||||
{dataSource.map((d) => {
|
||||
return (
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue