Skip to content

Commit f24b03d

Browse files
committed
Remove global .load-more class
There is nothing common between the two instances anymore, so we don't need to have this as a global class anymore either.
1 parent e815ec0 commit f24b03d

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

app/styles/dashboard.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
text-align: right;
116116
}
117117

118-
:global(.load-more) {
118+
.load-more {
119119
padding: var(--space-s);
120120
border-top: 1px solid light-dark(hsla(51, 90%, 42%, .25), #232321);
121121
}

app/templates/crate/versions.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
{{/each}}
2828
</ul>
2929
{{#if (or this.loadMoreTask.isRunning this.next_page)}}
30-
<div local-class="load-more" class="load-more">
30+
<div local-class="load-more">
3131
<button
3232
type="button"
3333
class="load-more-button"

app/templates/dashboard.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</ul>
6161

6262
{{#if this.hasMore}}
63-
<div class="load-more">
63+
<div local-class="load-more">
6464
<button type="button" class="load-more-button" disabled={{this.loadMoreTask.isRunning}} {{on "click" (perform this.loadMoreTask)}}>
6565
Load More
6666
{{#if this.loadMoreTask.isRunning}}

ember-cli-build.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ module.exports = function (defaults) {
5959
'crates-io/styles/shared/sort-by',
6060
'crates-io/styles/shared/typography',
6161
'crates-io/styles/application',
62-
// for the `.load-more` class
63-
'crates-io/styles/dashboard',
6462
// for the `.scopes-list` class
6563
'crates-io/styles/settings/tokens/new',
6664
// for the `.box-link` class

0 commit comments

Comments
 (0)