Skip to content

Commit

Permalink
Rename project-resource-listdivided-list (#465)
Browse files Browse the repository at this point in the history
Add `divided-list` class
  • Loading branch information
jeffdaley authored Dec 1, 2023
1 parent 4d1e24d commit 2cec103
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions web/app/components/project/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
@text="{{this.hermesDocuments.length}}"
/>
</div>
<ol data-test-document-list class="project-resource-list mt-3">
<ol data-test-document-list class="divided-list mt-3">
{{#each this.hermesDocuments as |document|}}
<li class="group relative" data-test-document-list-item>
<Project::Resource
Expand Down Expand Up @@ -262,7 +262,7 @@
@text="{{this.externalLinks.length}}"
/>
</div>
<ol data-test-external-link-list class="project-resource-list mt-5">
<ol data-test-external-link-list class="divided-list mt-5">
{{#each this.externalLinks as |link i|}}
<li class="group" data-test-document-list-item>
<Project::Resource
Expand Down
6 changes: 6 additions & 0 deletions web/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ h1 {
}
}

.divided-list {
> li:not(:first-child) {
@apply border-t border-t-color-border-faint;
}
}

// Prevent the Flight Icons shim from taking up space
.flight-sprite-container {
position: fixed;
Expand Down
6 changes: 0 additions & 6 deletions web/app/styles/components/project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
@apply scale-105 transition-transform;
}

.project-resource-list {
> li:not(:first-child) {
@apply border-t border-t-color-border-faint;
}
}

.project-resource {
@apply relative;

Expand Down

0 comments on commit 2cec103

Please sign in to comment.