Skip to content

Commit

Permalink
Previous fix works for Chrome but not for Safari. (#2729)
Browse files Browse the repository at this point in the history
* fix: copy paste URL

* bump: elements versions bump up
  • Loading branch information
SB-venkatyadavilli authored Oct 28, 2024
1 parent 3cd76bd commit 04fc515
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/elements-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/elements-core",
"version": "8.4.6",
"version": "8.4.7",
"sideEffects": [
"web-components.min.js",
"src/web-components/**",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ function MethodPathInner({ method, path, chosenServerUrl }: MethodPathProps & {

const pathElem = (
<Flex overflowX="hidden" fontSize="lg" userSelect="all">
<Box as="span" dir="rtl" color="muted" textOverflow="truncate" overflowX="hidden">
<Box as="span" dir="ltr" style={{ unicodeBidi: 'bidi-override' }}>
<Box dir="rtl" textOverflow="truncate" overflowX="hidden">
<Box as="span" dir="ltr" color="muted" style={{ unicodeBidi: 'bidi-override' }}>
{chosenServerUrl}
</Box>
</Box>
<Box as="span" fontWeight="semibold" flex={1}>
{path}
<Box as="span" fontWeight="semibold" flex={1}>
{path}
</Box>
</Box>
</Flex>
);
Expand Down
4 changes: 2 additions & 2 deletions packages/elements-dev-portal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/elements-dev-portal",
"version": "2.4.7",
"version": "2.4.8",
"description": "UI components for composing beautiful developer documentation.",
"keywords": [],
"sideEffects": [
Expand Down Expand Up @@ -66,7 +66,7 @@
"dependencies": {
"@stoplight/markdown-viewer": "^5.7.1",
"@stoplight/mosaic": "^1.53.4",
"@stoplight/elements-core": "^8.4.6",
"@stoplight/elements-core": "^8.4.7",
"@stoplight/path": "^1.3.2",
"@stoplight/types": "^14.0.0",
"classnames": "^2.2.6",
Expand Down
4 changes: 2 additions & 2 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stoplight/elements",
"version": "8.4.6",
"version": "8.4.7",
"description": "UI components for composing beautiful developer documentation.",
"keywords": [],
"sideEffects": [
Expand Down Expand Up @@ -63,7 +63,7 @@
]
},
"dependencies": {
"@stoplight/elements-core": "^8.4.6",
"@stoplight/elements-core": "^8.4.7",
"@stoplight/http-spec": "^7.1.0",
"@stoplight/json": "^3.18.1",
"@stoplight/mosaic": "^1.53.4",
Expand Down

0 comments on commit 04fc515

Please sign in to comment.