💄 Card font-size tweak
This commit is contained in:
@@ -78,18 +78,6 @@ export const getComicBookDetailById =
|
|||||||
comicBookDetail: result.data,
|
comicBookDetail: result.data,
|
||||||
IMS_inProgress: false,
|
IMS_inProgress: false,
|
||||||
});
|
});
|
||||||
const pageCount = await axios.request({
|
|
||||||
url: "http://localhost:3000/api/import/getPageCountsForComicBook",
|
|
||||||
method: "POST",
|
|
||||||
data: {
|
|
||||||
filePath:
|
|
||||||
result.data.rawFileDetails.containedIn +
|
|
||||||
"/" +
|
|
||||||
result.data.rawFileDetails.name +
|
|
||||||
result.data.rawFileDetails.extension,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
console.log(pageCount);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export const applyComicVineMatch =
|
export const applyComicVineMatch =
|
||||||
|
|||||||
@@ -4,6 +4,11 @@ $fa-font-path: "~@fortawesome/fontawesome-free/webfonts";
|
|||||||
@import "../../../../node_modules/@fortawesome/fontawesome-free/scss/solid.scss";
|
@import "../../../../node_modules/@fortawesome/fontawesome-free/scss/solid.scss";
|
||||||
$bg-color: yellow;
|
$bg-color: yellow;
|
||||||
$border-color: red;
|
$border-color: red;
|
||||||
|
$size-8: 0.9rem;
|
||||||
|
|
||||||
|
.is-size-8 {
|
||||||
|
font-size: $size-8;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const renderCard = (props): ReactElement => {
|
|||||||
</div>
|
</div>
|
||||||
{props.hasDetails && (
|
{props.hasDetails && (
|
||||||
<div className="card-content">
|
<div className="card-content">
|
||||||
<div className="card-title is-size-6 is-family-secondary">
|
<div className="card-title is-size-8 is-family-secondary">
|
||||||
{isNil(props.title) ? "No Name" : props.title}
|
{isNil(props.title) ? "No Name" : props.title}
|
||||||
</div>
|
</div>
|
||||||
{props.children}
|
{props.children}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export const RecentlyImported = ({
|
|||||||
}
|
}
|
||||||
const titleElement = (
|
const titleElement = (
|
||||||
<Link to={"/comic/details/" + _id}>
|
<Link to={"/comic/details/" + _id}>
|
||||||
{ellipsize(comicName, 18)}
|
{ellipsize(comicName, 20)}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user