Skip to content

Commit

Permalink
Simplify styling of Gist section's previous-work list
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Pow committed Oct 11, 2024
1 parent 86c3c6a commit c98cd37
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/Home/GistSection/GistSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
} from '@/utils/CommonRenders';
import { getGridBreakpoints } from '@/utils/Scss';

import '@/styles/GistSection.scss';

function GistSection(props) {
const pageText = {
title: 'Full-stack software engineer',
Expand All @@ -35,8 +37,8 @@ function GistSection(props) {
<div className={'mb-4'}>
I've also worked at:

<ul style={{ paddingLeft: '0', listStyleType: 'none' }}>
<li style={{ marginTop: '0.5rem' }}>
<ul className={'previous-work'}>
<li>
<details>
<summary>Nextdoor</summary>

Expand All @@ -53,7 +55,7 @@ function GistSection(props) {
</details>
</li>

<li style={{ marginTop: '0.5rem' }}>
<li>
<details>
<summary>E-Trade</summary>

Expand Down
8 changes: 8 additions & 0 deletions src/styles/GistSection.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ul.previous-work {
padding-left: 0;
list-style-type: none;

& li {
margin-top: 0.5rem;
}
}

0 comments on commit c98cd37

Please sign in to comment.