Skip to content

Commit

Permalink
[TM-1561] fix width
Browse files Browse the repository at this point in the history
  • Loading branch information
dottyy committed Dec 19, 2024
1 parent 285e91c commit fad0b77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ const VersionHistory = ({
options={polygonVersionData ?? []}
optionVariant="text-12-light"
titleClassname="one-line-text !w-full !text-nowrap"
titleContainerClassName="!w-[92%] !text-nowrap"
titleContainerClassName="!w-[calc(100%-25px)] !text-nowrap"
defaultValue={[selectPolygonVersion?.uuid ?? selectedPolygon?.uuid] as string[]}
onChange={e => {
const polygonVersionData = (data as SitePolygonsDataResponse)?.find(item => item.uuid === e[0]);
Expand Down
1 change: 1 addition & 0 deletions src/styles/extended-utilities.css
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
text-wrap: nowrap;
}

.two-line-text{
Expand Down

0 comments on commit fad0b77

Please sign in to comment.