1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

[SM-624] add text-align unset to bitLink (#4961)

This commit is contained in:
Will Martin 2023-03-09 13:28:48 -05:00 committed by GitHub
parent 1ca375857f
commit 702a84d9ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -20,3 +20,11 @@ summary.tw-list-none::marker,
summary.tw-list-none::-webkit-details-marker { summary.tw-list-none::-webkit-details-marker {
display: none; display: none;
} }
/**
* Arbitrary values can't be used with `text-align`:
* https://github.com/tailwindlabs/tailwindcss/issues/802#issuecomment-849013311
*/
.tw-text-unset {
text-align: unset;
}

View File

@ -24,6 +24,7 @@ const linkStyles: Record<LinkType, string[]> = {
}; };
const commonStyles = [ const commonStyles = [
"tw-text-unset",
"tw-leading-none", "tw-leading-none",
"tw-p-0", "tw-p-0",
"tw-font-semibold", "tw-font-semibold",