Skip to content

Commit

Permalink
[web] Drop core/NotificationMark component (#980)
Browse files Browse the repository at this point in the history
Drops the core/`NotificationMark` component and its styles since they are no longer used since #886.
  • Loading branch information
dgdavid authored Jan 8, 2024
1 parent 7ec8c10 commit cf99ad4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 99 deletions.
29 changes: 0 additions & 29 deletions web/src/assets/styles/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -215,35 +215,6 @@
}
}

span.notification-mark {
--nm-border-width: 0;
--nm-border-color: transparent;
--nm-border: var(--nm-border-width) solid var(--nm-border-color);
--nm-size: 8px;
--nm-margin-inline: var(--nm-size, 5px);
--nm-display: inline-block;
--nm-color: #00BFFF; //deepskyblue

margin-inline: var(--nm-margin-inline);
display: var(--nm-display);
background: var(--nm-color);
border: var(--nm-border);
width: var(--nm-size);
height: var(--nm-size);
border-radius: 999px;
}

span.notification-mark[data-variant="sidebar"] {
--nm-size: calc(var(--fs-base) + var(--nm-border-width));
--nm-display: initial;
--nm-border-width: 2px;
--nm-border-color: var(--color-primary);
--nm-margin-inline: 0;

position: absolute;
right: 0;
}

.issue {
--icon-size: 1rem;

Expand Down
39 changes: 0 additions & 39 deletions web/src/components/core/NotificationMark.jsx

This file was deleted.

30 changes: 0 additions & 30 deletions web/src/components/core/NotificationMark.test.jsx

This file was deleted.

1 change: 0 additions & 1 deletion web/src/components/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export { default as ValidationErrors } from "./ValidationErrors";
export { default as Terminal } from "./Terminal";
export { default as Tip } from "./Tip";
export { default as ShowTerminalButton } from "./ShowTerminalButton";
export { default as NotificationMark } from "./NotificationMark";
export { default as NumericTextInput } from "./NumericTextInput";
export { default as PasswordInput } from "./PasswordInput";
export { default as DevelopmentInfo } from "./DevelopmentInfo";

0 comments on commit cf99ad4

Please sign in to comment.