From e05f7383276363a6d6bc8ec5237bbd79b8bc6dcd Mon Sep 17 00:00:00 2001 From: Daniel Cortes Date: Mon, 15 Jun 2020 20:54:44 -0400 Subject: [PATCH] entity -> entity-item --- src/components/EntityList.jsx | 4 ++-- src/components/EntityList.scss | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/EntityList.jsx b/src/components/EntityList.jsx index f6d15dc..e122eb6 100644 --- a/src/components/EntityList.jsx +++ b/src/components/EntityList.jsx @@ -4,7 +4,7 @@ import "./EntityList.scss" const EntityItem = (props) => { return ( -
  • +
  • {props.cover &&
    @@ -26,7 +26,7 @@ export const EntityList = (props) => { const className = props.grid ? "grid" : "column"; return ( -
      +
        {entities}
      ) diff --git a/src/components/EntityList.scss b/src/components/EntityList.scss index 63d5ea7..959536e 100644 --- a/src/components/EntityList.scss +++ b/src/components/EntityList.scss @@ -1,6 +1,6 @@ // Base -.entity_list { - .entity { +.entity-list { + .entity-item { a { text-decoration: none; color: var(--black); @@ -28,11 +28,11 @@ } // Column mode -.entity_list.column { +.entity-list.column { display: flex; flex-direction: column; - .entity a { + .entity-item a { display: flex; flex-direction: row; align-items: center; @@ -45,7 +45,7 @@ } // Grid mode -.entity_list.grid { +.entity-list.grid { $grid-width: 250px; $grid-height: 275px; $grid-gap: 20px; @@ -67,7 +67,7 @@ justify-content: space-between; } - .entity { + .entity-item { a { .cover { width: 250px; @@ -92,8 +92,8 @@ } // Highligth Column -.entity_list.column{ - .entity { +.entity-list.column{ + .entity-item { border-bottom: solid var(--line-width) var(--gray-1); transition: background-color 300ms ease-in; @@ -115,8 +115,8 @@ } // Highligth Grid -.entity_list.grid{ - .entity { +.entity-list.grid{ + .entity-item { .body .title:after { display: block; content: '';