-
Hi All, The code is mostly working as expected, but there is always an empty box on the screen, as well as the expand/contract double-arrow symbol. Here is my code and css `import React, { useState, useCallback } from 'react'; const [isZoomed, setIsZoomed] = useState(false); const [searchTerm, setSearchTerm] = useState(''); const handleSearch = (e) => {
}; const extractTextFromDescription = (element) => {
}; const isYearInRange = (years, searchYear) => { const renderSection = (title, items) => {
}; const workExperienceItems = resumeItems.filter(item => item.category === 'Work Experience'); return ( {renderSection('Work Experience', workExperienceItems)} {renderSection('Certificates', certificateItems)} {renderSection('Education', educationItems)} ); };` CSS FILE body, html { h2Resume { .resume-page { .resume-container { .search-bar { .resume-list { .resume-item:hover { .resume-item h3 { .company { .years { .description { .resume-item { .job-logo { .menu { .bottom-container { .footer-link { .footer-link:hover { |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@4vgj03 It looks like you need to import the stylesheet: import 'react-medium-image-zoom/dist/styles.css' Or you can copy-paste the code, yourself, from https://github.com/rpearce/react-medium-image-zoom/blob/main/source/styles.css. |
Beta Was this translation helpful? Give feedback.
@4vgj03 It looks like you need to import the stylesheet:
Or you can copy-paste the code, yourself, from https://github.com/rpearce/react-medium-image-zoom/blob/main/source/styles.css.