Skip to content

Commit

Permalink
Added paddingLeft to header
Browse files Browse the repository at this point in the history
  • Loading branch information
Shebuka committed Mar 14, 2024
1 parent f8358cf commit 040c3dc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
4 changes: 2 additions & 2 deletions src/pages/achievements/index.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.rare {
color: violet;
color: #8c6edf;
}

.legendary {
color: gold;
color: #ffe084;
}
18 changes: 7 additions & 11 deletions src/pages/achievements/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,17 @@ function Achievements() {
() => [
{
Header: () => (
<div
style={{
textAlign:'left'
}}
>{t('Name')}</div>),
<div style={{textAlign:'left', paddingLeft:'10px'}}>
{t('Name')}
</div>),
id: 'name',
accessor: 'name',
},
{
Header: () => (
<div
style={{
textAlign:'left'
}}
>{t('Description')}</div>),
<div style={{textAlign:'left', paddingLeft:'10px'}}>
{t('Description')}
</div>),
id: 'description',
accessor: 'description',
},
Expand Down Expand Up @@ -85,7 +81,7 @@ function Achievements() {
accessor: 'rarity',
Cell: (props) => {
return (
<div className={props.row.original.normalizedRarity}>
<div className={`center-content ${props.row.original.normalizedRarity}`}>
{props.value}
</div>
);
Expand Down

0 comments on commit 040c3dc

Please sign in to comment.