aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-07-02 13:58:10 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-07-02 13:58:10 -0400
commit8c48d4d489e0fd670ba46953dca3a435220d00f4 (patch)
tree8a237768d1fed274eedb17d58e6feedada8125a0 /src
parentc69f325a6640d5843fabce5488a49e74d3efbba1 (diff)
keymenu changes
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.scss4
-rw-r--r--src/client/views/collections/collectionSchema/CollectionSchemaView.tsx7
2 files changed, 5 insertions, 6 deletions
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
index e3f3dafab..c32661214 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.scss
@@ -51,7 +51,9 @@
.schema-filter-menu {
background: $light-gray;
position: absolute;
- max-height: 300px;
+ border: 1px solid $medium-gray;
+ border-bottom: 2px solid $medium-gray;
+ max-height: 201px;
display: flex;
overflow: hidden;
flex-direction: column;
diff --git a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
index ef3efea39..cc8b0fc7e 100644
--- a/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
+++ b/src/client/views/collections/collectionSchema/CollectionSchemaView.tsx
@@ -1159,11 +1159,8 @@ export class CollectionSchemaView extends CollectionSubView() {
<p>
<span className="schema-search-result-key">
<b>{key}</b>
- {this.fieldInfos.get(key)!.fieldType ? ':' : ''}
- </span>
- <span className="schema-search-result-type" style={{ color: this.fieldInfos.get(key)!.readOnly ? 'red' : 'inherit' }}>
- {this.fieldInfos.get(key)!.fieldType}
</span>
+ <span>: </span>
<span className="schema-search-result-desc">&nbsp;&nbsp;{this.fieldInfos.get(key)!.description}</span>
</p>
</div>
@@ -1313,7 +1310,7 @@ export class CollectionSchemaView extends CollectionSubView() {
}
@computed get docsWithDrag() {
- let docs = this._docs;
+ let docs = this.docs.slice();
if (this.sortField){
const field = StrCast(this.layoutDoc.sortField);
const desc = BoolCast(this.layoutDoc.sortDesc); // is this an ascending or descending sort