fix: table scroll bug
This commit is contained in:
parent
1d6a8f0333
commit
2a49cbaa87
|
|
@ -2,6 +2,7 @@
|
|||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://zotero-platform/content/zotero-react-client.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://__addonRef__/content/virtualizedTable.css" type="text/css"?>
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
lang="en"
|
||||
|
|
@ -72,6 +73,12 @@
|
|||
.list-viewport {
|
||||
width: 100%;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
#table-container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.tool-button {
|
||||
width: 75px;
|
||||
|
|
@ -81,9 +88,6 @@
|
|||
text-align: center;
|
||||
margin: 0 10px 0 10px;
|
||||
}
|
||||
.virtualized-table-body {
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://zotero/skin/zotero.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://zotero-platform/content/zotero-react-client.css" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://__addonRef__/content/virtualizedTable.css" type="text/css"?>
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
lang="en"
|
||||
|
|
@ -72,7 +73,14 @@
|
|||
}
|
||||
.list-viewport {
|
||||
width: calc(20% - 10px);
|
||||
height: 100%;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
#table-container {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.editor-viewport {
|
||||
display: flex;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
.virtualized-table {
|
||||
height: 100%;
|
||||
-moz-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
Loading…
Reference in New Issue