Skip to content

Commit 6b7e78c

Browse files
committed
Make popups scrollable if they don't fit the height of the screen
1 parent 95d1db5 commit 6b7e78c

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sql_schema_visualizer",
3-
"version": "1.0.0",
3+
"version": "1.3.1",
44
"homepage": "https://sqlhabit.github.io/sql_schema_visualizer/",
55
"private": false,
66
"dependencies": {

src/Visualizer/style/info-popup.scss

+2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
top: 50%;
1616
left: 50%;
1717
width: 100%;
18+
max-height: 100%;
1819
z-index: 200000;
1920
padding: 16px 16px 8px;
2021
transform: translateX(-50%) translateY(-50%);
22+
overflow-y: scroll;
2123

2224
border-radius: 8px;
2325

0 commit comments

Comments
 (0)