We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75184f5 commit 9a13141Copy full SHA for 9a13141
1 file changed
static/js/publisher/components/PublishedSnapList/PublishedSnapList.tsx
@@ -79,11 +79,14 @@ function PublishedSnapList({
79
80
return (
81
<Strip element="section" shallow>
82
- <div className="u-fixed-width">
83
- <h2 className="p-heading--4 u-float-left">My published snaps</h2>
84
- </div>
85
{isEmpty && <EmptySnapList />}
86
+ {!isEmpty && (
+ <div className="u-fixed-width">
+ <h2 className="p-heading--4">My published snaps</h2>
87
+ </div>
88
+ )}
89
+
90
{shouldShowNewSnapNotification && <NewSnapNotification snap={snaps[0]} />}
91
92
{snaps.length > 0 && (
0 commit comments