fix: hidden priority

This commit is contained in:
boojack
2022-06-19 11:39:29 +08:00
parent 1733ed670c
commit efb3fad194
3 changed files with 3 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ const DailyMemoDiaryDialog: React.FC<Props> = (props: Props) => {
</div> </div>
</div> </div>
<DatePicker <DatePicker
className={`date-picker ${showDatePicker ? "" : "hidden"}`} className={`date-picker ${showDatePicker ? "" : "!hidden"}`}
datestamp={currentDateStamp} datestamp={currentDateStamp}
handleDateStampChange={handleDataPickerChange} handleDateStampChange={handleDataPickerChange}
/> />

View File

@@ -14,7 +14,7 @@ const MemoFilter: React.FC<FilterProps> = () => {
const showFilter = Boolean(tagQuery || (duration && duration.from < duration.to) || memoType || textQuery || shortcut); const showFilter = Boolean(tagQuery || (duration && duration.from < duration.to) || memoType || textQuery || shortcut);
return ( return (
<div className={`filter-query-container ${showFilter ? "" : "hidden"}`}> <div className={`filter-query-container ${showFilter ? "" : "!hidden"}`}>
<span className="tip-text">Filter:</span> <span className="tip-text">Filter:</span>
<div <div
className={"filter-item-container " + (shortcut ? "" : "hidden")} className={"filter-item-container " + (shortcut ? "" : "hidden")}

View File

@@ -68,7 +68,7 @@ const Selector: React.FC<Props> = (props: Props) => {
</span> </span>
</div> </div>
<div className={`items-wrapper ${showSelector ? "" : "hidden"}`}> <div className={`items-wrapper ${showSelector ? "" : "!hidden"}`}>
{dataSource.map((d) => { {dataSource.map((d) => {
return ( return (
<div <div