Skip to content

Commit 0f01e45

Browse files
committed
fix #6901 -- Using the edit license panel inside a popover is broken
1 parent daae446 commit 0f01e45

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/packages/frontend/purchases/purchases.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,13 @@ function Description({ description, period_end, service }) {
652652
const { license_id } = description;
653653
return (
654654
<Popover
655+
overlayStyle={{
656+
maxHeight: "60vh",
657+
overflow: "auto",
658+
border: "1px solid #ccc",
659+
borderRadius: "5px",
660+
boxShadow: "4px 4px 2px #dfdfdf",
661+
}}
655662
title={
656663
<>
657664
Licenses:{" "}

src/packages/frontend/site-licenses/site-license-public-info.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ import { reuseInFlight } from "@cocalc/util/reuse-in-flight";
88
import { Alert, Button, Popconfirm, Popover, Table, Tag, Tooltip } from "antd";
99
import { isEqual } from "lodash";
1010
import { useIntl } from "react-intl";
11-
1211
import Export from "@cocalc/frontend/purchases/export";
13-
1412
import {
1513
React,
1614
redux,

0 commit comments

Comments
 (0)