Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
PeerTube
PeerTube
Commits
389eb034
Verified
Commit
389eb034
authored
Jan 24, 2023
by
Chocobozzz
Browse files
Prevent layout shift in videos list
parent
2a720a0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
client/src/app/shared/shared-main/feeds/feed.component.html
View file @
389eb034
<div
class=
"feed"
>
<div
class=
"feed"
*ngIf=
"syndicationItems && syndicationItems.length !== 0"
>
<my-global-icon
role=
"button"
aria-label=
"Open syndication dropdown"
i18n-aria-label
*ngIf=
"syndicationItems.length !== 0"
[ngbPopover]=
"feedsList"
[autoClose]=
"true"
placement=
"bottom left auto"
...
...
client/src/app/shared/shared-video-miniature/videos-list.component.html
View file @
389eb034
...
...
@@ -4,7 +4,7 @@
{{ title }}
</h1>
<div
*ngIf=
"syndicationItems"
[ngClass]=
"{ 'no-title': !displayTitle }"
class=
"title-subscription"
>
<div
[ngClass]=
"{ 'no-title': !displayTitle
, invisible: !syndicationItems || syndicationItems.length === 0
}"
class=
"title-subscription"
>
<ng-container
i18n
>
Subscribe to RSS feed "{{ title }}"
</ng-container>
<my-feed
[syndicationItems]=
"syndicationItems"
></my-feed>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment