Skip to content

Commit

Permalink
Center text
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Mar 24, 2023
1 parent 4331d6e commit e29542b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/doc/colors/overviewdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function OverviewDoc(props) {
</tbody>
</table>
</div>
<div className="card flex justify-content-center gap-3">
<div className="card flex justify-content-center gap-3 text-center">
<div style={{ backgroundColor: 'var(--highlight-bg)', color: 'var(--highlight-text-color)', borderRadius: 'var(--border-radius)', padding: '3rem' }}>Highlighted Item</div>
<div style={{ backgroundColor: 'var(--primary-color)', color: 'var(--primary-color-text)', borderRadius: 'var(--border-radius)', padding: '3rem' }}>Primary Color</div>
</div>
Expand Down

0 comments on commit e29542b

Please sign in to comment.