Skip to content

Commit

Permalink
Fix the bottom display of the episodes (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen authored Apr 28, 2022
1 parent bf98da8 commit 5697b4d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ui/src/Pages/Episodes.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
#episodes {
margin-bottom: 80px;
margin-left: 25px;
margin-right: 25px;
}

#episodes > div {
border-bottom: 1px solid #e8e8e8;
margin-top: 15px;
padding-top: 5px;
}
#episodes > div > button {
margin-left: 100px;
}
.episode-name {
cursor: pointer;
margin-left: 10px;
Expand Down
1 change: 1 addition & 0 deletions ui/src/Pages/Episodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ class Episodes extends Component {
<div id="episodes">
{episodes.map((item, index) => (
<div id={item.metadata.name} key={index} className="episode-item-in-list">
{item.spec.date}
<Link to={"/rsses/" + rss + "/episodes/" + item.metadata.name}>
<span className="episode-name">
{item.spec.title}
Expand Down

0 comments on commit 5697b4d

Please sign in to comment.