Skip to content

Commit

Permalink
Move ft-list-channel specific css to ft-list-channel.scss (#4873)
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue committed Apr 6, 2024
1 parent 64be1c1 commit 8b16bd5
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 39 deletions.
39 changes: 39 additions & 0 deletions src/renderer/components/ft-list-channel/ft-list-channel.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
@use '../../scss-partials/_ft-list-item';

.ft-list-channel {
&.grid {
align-items: center;
text-align: center;

.infoAndSubscribe {
flex-flow: column wrap;
align-items: center;

.info {
margin-block-end: 12px;

.infoLine {
text-align: center;
}
}
}
}

&.list {
.infoAndSubscribe {
flex-flow: row wrap;
justify-content: center;

.channelSubscribeButton {
margin-block: auto;
margin-inline: 7px;
}
}
}
}

.infoAndSubscribe {
display: flex;
flex-flow: row wrap;
justify-content: center;
inline-size: 100%;
}

.handle {
color: inherit;
text-decoration: none;
Expand Down
39 changes: 0 additions & 39 deletions src/renderer/scss-partials/_ft-list-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -386,45 +386,6 @@ $watched-transition-duration: 0.5s;
}
}

.ft-list-channel {
.infoAndSubscribe {
display: flex;
flex-flow: row wrap;
justify-content: center;
inline-size: 100%;
}

&.grid {
align-items: center;
text-align: center;

.infoAndSubscribe {
flex-flow: column wrap;
align-items: center;

.info {
margin-block-end: 12px;

.infoLine {
text-align: center;
}
}
}
}

&.list {
.infoAndSubscribe {
flex-flow: row wrap;
justify-content: center;

.channelSubscribeButton {
margin-block: auto;
margin-inline: 7px;
}
}
}
}

.videoWatched,
.live,
.upcoming {
Expand Down

0 comments on commit 8b16bd5

Please sign in to comment.