Skip to content

Commit

Permalink
👌 Improve modal styling
Browse files Browse the repository at this point in the history
  • Loading branch information
vforvasile committed Apr 3, 2023
1 parent db69a31 commit ba3c34e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions src/components/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -1515,10 +1515,17 @@ input.checked::before {
background-color: #822000;
}

.spell-modal-item{
font-size: 18px;
color: #242527;
}

.spell-modal-item-header{
font-size: 1.2rem;
text-transform: uppercase;
font-size: 12px;
font-weight: bold;
margin-bottom: 10px;
color: #000;
margin-bottom: 5px;
}
.spell-modal-header{
display: -webkit-flex;
Expand Down
2 changes: 1 addition & 1 deletion src/components/creature/spells/SpellModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default function SpellModal({
Components
</div>
<div>
{spellInfo.components.map((el) => (<span>{el}</span>))}
{spellInfo.components.map((el, index) => (<span>{`${el}${spellInfo.components.length - index === 1 ? '' : ', '}`}</span>))}
</div>
</div>
<div className="spell-modal-item">
Expand Down

0 comments on commit ba3c34e

Please sign in to comment.