a11y: right-to-left improvements (#6235)
* fixed a ton of rtl issues * removed duplicant Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by: sean-brydon <[email protected]>
This commit is contained in:
90 files changed
+248
-207
No files matched your search
@@ -4,16 +4,16 @@ const SkeletonEventType = () => {
|
||||
return (
|
||||
<div className="dark:bg-darkgray-100 h-24 w-full bg-white">
|
||||
<div className="p-5">
|
||||
<div className="flex space-x-2">
|
||||
<div className="flex space-x-2 rtl:space-x-reverse">
|
||||
<div className="dark:bg-darkgray-400 h-2 w-1/6 rounded-md bg-neutral-200" />
|
||||
<div className="dark:bg-darkgray-400 h-2 w-1/6 rounded-md bg-neutral-200" />
|
||||
</div>
|
||||
<div className="flex space-x-2 py-2">
|
||||
<div className="flex space-x-2 py-2 rtl:space-x-reverse">
|
||||
<div className="dark:bg-darkgray-400 h-2 w-1/12 rounded-md bg-neutral-200" />
|
||||
<div className="dark:bg-darkgray-400 h-2 w-1/6 rounded-md bg-neutral-200" />
|
||||
<div className="dark:bg-darkgray-400 h-2 w-1/12 rounded-md bg-neutral-200" />
|
||||
</div>
|
||||
<div className="flex space-x-2 py-1">
|
||||
<div className="flex space-x-2 py-1 rtl:space-x-reverse">
|
||||
<div className="dark:bg-darkgray-200 h-6 w-1/6 rounded-md bg-neutral-300" />
|
||||
<div className="dark:bg-darkgray-200 h-6 w-1/6 rounded-md bg-neutral-300" />
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@ export const EventTypeDescription = ({ eventType, className }: EventTypeDescript
|
||||
{eventType.description.length > 300 && "..."}
|
||||
</p>
|
||||
)}
|
||||
<ul className="mt-2 flex flex-wrap space-x-2 sm:flex-nowrap">
|
||||
<ul className="mt-2 flex flex-wrap space-x-2 rtl:space-x-reverse sm:flex-nowrap">
|
||||
{eventType.metadata?.multipleDuration ? (
|
||||
eventType.metadata.multipleDuration.map((dur, idx) => (
|
||||
<li key={idx}>
|
||||
|
||||
Reference in new issue
Block a user