Skip to content

Commit

Permalink
fix img render
Browse files Browse the repository at this point in the history
  • Loading branch information
nesmon committed Mar 20, 2023
1 parent 3f272ef commit b240c6d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.App {
text-align: center;
}

.songList {
display: flex;
flex-direction: row;
Expand Down
1 change: 1 addition & 0 deletions src/Components/chart/chart.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
border-bottom: 5px solid #A32D44;
transition: transform 0.2s;
transform: scale(1);
text-align: center;
}

.chart:hover {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/chart/chart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Chart = ({ data }) => {
return (
<div className="chart">
<div className='song'>
<img className='chartImg' src={data.imageCover} alt={data.name} width="80%"/>
<img className='chartImg inline' src={data.imageCover} alt={data.name} width="80%"/>
<div className='difficulty'>
{data.difficulty.map((item, index) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/main.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
//import './index.css'
import './index.css'

ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
Expand Down

0 comments on commit b240c6d

Please sign in to comment.