Skip to content

Commit

Permalink
refactor: reduce reduntant usage of text-undefined in tables
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Jul 11, 2023
1 parent 2477533 commit 5b963f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ember/app/components/dependency-table/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
</table>
{{else}}
<div class='none-yet' data-test-versioned-dependencies-none>
<span class='text-undefined'>No dependencies yet</span>
<span>No dependencies yet</span>
</div>
{{/if}}
2 changes: 1 addition & 1 deletion ember/app/components/maintainer-table/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
</table>
{{else}}
<div class='none-yet' data-test-versioned-dependencies-none>
<span class='text-undefined'>No maintainers yet</span>
<span>No maintainers yet</span>
</div>
{{/if}}
5 changes: 5 additions & 0 deletions ember/app/styles/components/_text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
font-style: italic;
}
}

.none-yet {
width: 100%;
display: flex;
justify-content: center;
margin-top: 1rem;

span {
@extend .text-undefined;
}
}

0 comments on commit 5b963f2

Please sign in to comment.