Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[Terra-Tag] Fix for Build failures happening due to use of @supports CSS rule #3974

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/terra-tag/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Fixed
* Removed unused `@supports` css rule from terra-tag-list.

## 2.64.0 - (November 13, 2023)

* Added
Expand Down
23 changes: 0 additions & 23 deletions packages/terra-tag/src/RollupTag.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,6 @@
@import './orion-fusion-theme/RollupTag.module';

:local {
.rollup-tag-label {
font-family: inherit; // Button reset
left: 0; // Button reset for IE
min-width: 0;
overflow: hidden;
position: relative; // Button reset for IE
text-overflow: ellipsis;
top: 0; // Button reset for IE
white-space: nowrap;
}

@supports (not (-webkit-hyphens:none)) {
.rollup-tag-label {
top: var(--terra-tags-rollup-tag-label-not-ms-top, -0.01em); // Text alignment for all but IE + Safari
}
}

@supports selector(:-moz-is-html) {
.rollup-tag-label {
top: var(--terra-tags-rollup-tag-label-moz-top, -0.02em); // Text alignment for Firefox
}
}

.rollup-tag:not(.is-active) {
background-color: var(--terra-tags-rollup-tag-background-color, rgba(28, 31, 33, 0.04));
border: var(--terra-tags-rollup-tag-border, 1px solid rgba(28, 31, 33, 0.1));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
:local {
.clinical-lowlight-theme {
--terra-tags-rollup-tag-label-not-ms-top: -0.01em;
--terra-tags-rollup-tag-label-moz-top: -0.02em;

// Rollup Tag
--terra-tags-rollup-tag-background-color: rgba(232, 239, 244, 0.04);
--terra-tags-rollup-tag-border: 1px solid rgba(28, 31, 33, 0.1);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
:local {
.orion-fusion-theme {
--terra-tags-rollup-tag-label-not-ms-top: -0.01em;
--terra-tags-rollup-tag-label-moz-top: -0.02em;

// Rollup Tag
--terra-tags-rollup-tag-background-color: rgba(28, 31, 33, 0.04);
--terra-tags-rollup-tag-border: 1px solid rgba(28, 31, 33, 0.1);
Expand Down
Loading