Skip to content

Commit

Permalink
fix css lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed May 23, 2023
1 parent 294475c commit 82845da
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions addon/styles/addon.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/* stylelint-disable prettier/prettier, import-notation */
@import 'components/notification-container.css';
@import 'components/notification-message.css';
1 change: 1 addition & 0 deletions addon/styles/components/notification-container.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* stylelint-disable prettier/prettier, alpha-value-notation, color-function-notation, custom-property-empty-line-before, selector-class-pattern */
:root {
--ecn-container-position: 10px;
--ecn-container-width: 80%;
Expand Down
2 changes: 2 additions & 0 deletions addon/styles/components/notification-message.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* stylelint-disable prettier/prettier, number-max-precision, selector-class-pattern */

/* Values */
.ember-cli-notifications-notification__container .c-notification {
display: flex;
Expand Down
1 change: 1 addition & 0 deletions tests/dummy/app/styles/app.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* stylelint-disable import-notation */
@import "prebuilt.css";

.field-guide-wrapper .field-guide-sidenav,
Expand Down
1 change: 1 addition & 0 deletions tests/dummy/app/styles/prebuilt.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module('Integration | Component | notification container', function (hooks) {
// fix strange setup bug
notificationMessages.clearAll();

await render(hbs`{{notification-container}}`);
await render(hbs`<NotificationContainer />`);

assert.strictEqual(find('*').textContent.trim(), '');
});
Expand Down

0 comments on commit 82845da

Please sign in to comment.