Skip to content

Commit 92ebd4d

Browse files
authored
revert "Adding specific style to use icons to not surprise users Rule" (#295)
## Description ✏️ Reverted it because I accidentally merged it. ## Screenshot (optional) ✏️ <!-- Check out the relevant rules - https://www.ssw.com.au/rules/use-pull-request-templates-to-communicate-expectations/ - https://www.ssw.com.au/rules/rules-to-better-pull-requests - https://www.ssw.com.au/rules/write-a-good-pull-request - https://www.ssw.com.au/rules/over-the-shoulder-prs - https://www.ssw.com.au/rules/do-you-use-co-creation-patterns -->
1 parent 8cef63f commit 92ebd4d

File tree

2 files changed

+0
-35
lines changed

2 files changed

+0
-35
lines changed

components/tina-markdown/markdown-component-mapping.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ export const getMarkdownComponentMapping = (enableAnchors = false): Components<a
5151
}
5252

5353
return <p {...props} />;
54-
},
55-
table: (props) => {
56-
return <table className="rule-content-table" {...props} />;
5754
}
5855
});
5956

styles.css

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -331,35 +331,3 @@
331331
border-color: var(--color-ssw-red);
332332
}
333333
}
334-
335-
.rule-content-table a:has(img) {
336-
text-decoration: underline !important;
337-
}
338-
339-
.rule-content-table a img {
340-
margin: 0 !important;
341-
padding: 0 !important;
342-
display: inline !important;
343-
vertical-align: middle !important;
344-
}
345-
346-
a[href*="youtube.com"]:has(img),
347-
a[href^="mailto:"]:has(img),
348-
a[href$=".pdf"]:has(img),
349-
a[href$=".docx"]:has(img),
350-
a[href$=".xlsx"]:has(img),
351-
a[href$=".pptx"]:has(img),
352-
a[href$=".txt"]:has(img),
353-
a[href$=".zip"]:has(img),
354-
a[href$=".ics"]:has(img),
355-
a[href$=".vcs"]:has(img),
356-
a[href*="google.com/maps"]:has(img),
357-
a[href$=".avi"]:has(img),
358-
a[href$=".mov"]:has(img),
359-
a[href$=".mpg"]:has(img),
360-
a[href$=".mp4"]:has(img),
361-
a[href$=".wav"]:has(img),
362-
a[href$=".wma"]:has(img),
363-
a[href$=".mp3"]:has(img) {
364-
text-decoration: underline !important;
365-
}

0 commit comments

Comments
 (0)