diff options
author | crupest <crupest@outlook.com> | 2023-08-30 01:07:00 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-30 01:07:00 +0800 |
commit | 97c3d6f302e236a273d64ddffc632f18ed967cbc (patch) | |
tree | d623fbd1f6367a4357d70a5ebbd94ad4638f8fec /FrontEnd/src/components/list | |
parent | f8acad20ddb9f5de156d81b54233571b8efba7f9 (diff) | |
download | timeline-97c3d6f302e236a273d64ddffc632f18ed967cbc.tar.gz timeline-97c3d6f302e236a273d64ddffc632f18ed967cbc.tar.bz2 timeline-97c3d6f302e236a273d64ddffc632f18ed967cbc.zip |
...
Diffstat (limited to 'FrontEnd/src/components/list')
-rw-r--r-- | FrontEnd/src/components/list/ListContainer.tsx | 2 | ||||
-rw-r--r-- | FrontEnd/src/components/list/ListItemContainer.css | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/FrontEnd/src/components/list/ListContainer.tsx b/FrontEnd/src/components/list/ListContainer.tsx index aa00d12c..c27e67d4 100644 --- a/FrontEnd/src/components/list/ListContainer.tsx +++ b/FrontEnd/src/components/list/ListContainer.tsx @@ -1,7 +1,7 @@ import { ComponentPropsWithoutRef, forwardRef, Ref } from "react"; import classNames from "classnames"; -import "./ListContainer.css" +import "./ListContainer.css"; function _ListContainer( { className, children, ...otherProps }: ComponentPropsWithoutRef<"div">, diff --git a/FrontEnd/src/components/list/ListItemContainer.css b/FrontEnd/src/components/list/ListItemContainer.css index 8d7afa9f..49468bc2 100644 --- a/FrontEnd/src/components/list/ListItemContainer.css +++ b/FrontEnd/src/components/list/ListItemContainer.css @@ -1,3 +1,7 @@ .cru-list-item-container { - border: 1px solid var(--cru-clickable-primary-normal-color); + border-bottom: 1px solid var(--cru-clickable-primary-normal-color); +} + +.cru-list-item-container:last-child { + border-bottom: none; } |