📏 Fixes for responsiveness

This commit is contained in:
2026-02-17 20:29:03 -05:00
parent b47b38cc8d
commit 37a2d0c75b
6 changed files with 87 additions and 53 deletions

View File

@@ -34,6 +34,11 @@ import { styled } from "styled-components";
import { COMICVINE_SERVICE_URI } from "../../constants/endpoints";
import { refineQuery } from "filename-parser";
// overridden <SlidingPanel> with some styles - moved outside component to prevent recreation
const StyledSlidingPanel = styled(SlidingPane)`
background: #ccc;
`;
interface ComicDetailProps {
data: {
_id: string;
@@ -98,11 +103,7 @@ export const ComicDetail = (data: ComicDetailProps): ReactElement => {
// );
}, []);
// overridden <SlidingPanel> with some styles
const StyledSlidingPanel = styled(SlidingPane)`
background: #ccc;
`;
const afterOpenModal = useCallback((things) => {
const afterOpenModal = useCallback((things: any) => {
// references are now sync'd and can be accessed.
// subtitle.style.color = "#f00";
console.log("kolaveri", things);