🖼 UX tweaks on Acquisition Panel
This commit is contained in:
@@ -40,7 +40,7 @@ type ComicDetailProps = {};
|
|||||||
* )
|
* )
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export const ComicDetail = ({}: ComicDetailProps): ReactElement => {
|
export const ComicDetail = ({ }: ComicDetailProps): ReactElement => {
|
||||||
const [page, setPage] = useState(1);
|
const [page, setPage] = useState(1);
|
||||||
const [active, setActive] = useState(1);
|
const [active, setActive] = useState(1);
|
||||||
const [visible, setVisible] = useState(false);
|
const [visible, setVisible] = useState(false);
|
||||||
@@ -237,11 +237,11 @@ export const ComicDetail = ({}: ComicDetailProps): ReactElement => {
|
|||||||
{/* Downloads tab and count badge */}
|
{/* Downloads tab and count badge */}
|
||||||
<a>
|
<a>
|
||||||
{id === 5 &&
|
{id === 5 &&
|
||||||
!isNil(comicBookDetailData) &&
|
!isNil(comicBookDetailData) &&
|
||||||
!isEmpty(comicBookDetailData) ? (
|
!isEmpty(comicBookDetailData) ? (
|
||||||
<span className="download-icon-labels">
|
<span className="download-icon-labels">
|
||||||
<i className="fa-solid fa-download"></i>
|
<i className="fa-solid fa-download"></i>
|
||||||
<span className="tag downloads-count">
|
<span className="tag downloads-count is-info is-light">
|
||||||
{comicBookDetailData.acquisition.directconnect.length}
|
{comicBookDetailData.acquisition.directconnect.length}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ export const AcquisitionPanel = (
|
|||||||
placeholder="Type an issue/volume name"
|
placeholder="Type an issue/volume name"
|
||||||
/>
|
/>
|
||||||
<span className="help is-clearfix is-light is-info">
|
<span className="help is-clearfix is-light is-info">
|
||||||
Use this to manually override the search.
|
Use this to perform a manual search.
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
@@ -183,7 +183,12 @@ export const AcquisitionPanel = (
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</dt>
|
</dt>
|
||||||
<dt>Query: {searchInfo.query.pattern}</dt>
|
<dt>
|
||||||
|
Query:{" "}
|
||||||
|
<span className="has-text-weight-semibold">
|
||||||
|
{searchInfo.query.pattern}
|
||||||
|
</span>
|
||||||
|
</dt>
|
||||||
<dd>Extensions: {searchInfo.query.extensions.join(", ")}</dd>
|
<dd>Extensions: {searchInfo.query.extensions.join(", ")}</dd>
|
||||||
<dd>File type: {searchInfo.query.file_type}</dd>
|
<dd>File type: {searchInfo.query.file_type}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|||||||
Reference in New Issue
Block a user