Skip to content

Commit c8e141a

Browse files
committed
fix: use .srOnly instead of .sr-only
1 parent 577c00f commit c8e141a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/developer-hub/src/components/TruncateToMiddle/index.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@use "@pythnetwork/component-library/theme";
22

3-
.sr-only {
3+
.srOnly {
44
@include theme.sr-only;
55
}
66

apps/developer-hub/src/components/TruncateToMiddle/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const TruncateToMiddle = ({
3232
data-text-end={text.slice(Math.floor(text.length / 2) * -1)}
3333
aria-hidden="true"
3434
/>
35-
<span className={styles["sr-only"]}>{text}</span>
35+
<span className={styles.srOnly}>{text}</span>
3636
</>
3737
);
3838
};

0 commit comments

Comments
 (0)