Merge pull request #337 from davidosomething/fix-tags-ul

Fix person tags parentElement should be UL
This commit is contained in:
Hugo 2020-01-14 13:35:50 +00:00 committed by GitHub
commit e2123c4d6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,7 +76,7 @@ export default function Topics() {
}
// Component Styles
const Tags = styled.div`
const Tags = styled.ul`
list-style-type: none;
margin: 0;
padding: 0;
@ -92,7 +92,7 @@ const Tag = styled.label`
padding: 5px;
color: hsla(0, 100%, 100%, 0.8);
transition: background-color 0.2s;
cursor: ${props => (props.clickable? "pointer" : "default")};
cursor: ${props => (props.clickable ? 'pointer' : 'default')};
display: grid;
grid-template-columns: 1fr auto;
align-items: center;