aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionNoteTakingView.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.scss')
-rw-r--r--src/client/views/collections/CollectionNoteTakingView.scss42
1 files changed, 32 insertions, 10 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.scss b/src/client/views/collections/CollectionNoteTakingView.scss
index fe98f307e..08b13fd50 100644
--- a/src/client/views/collections/CollectionNoteTakingView.scss
+++ b/src/client/views/collections/CollectionNoteTakingView.scss
@@ -1,7 +1,7 @@
@import '../global/globalCssVariables';
.collectionNoteTakingView-DocumentButtons {
- display: flex;
+ display: none;
justify-content: space-between;
margin: auto;
}
@@ -51,6 +51,17 @@
display: flex;
}
+.collectionNoteTakingViewFieldColumn {
+ height: 100%;
+ display: flex;
+ overflow: hidden;
+}
+.collectionNoteTakingViewFieldColumn:hover {
+ .collectionNoteTakingView-DocumentButtons {
+ display: flex;
+ }
+}
+
// TODO:glr Turn this into a seperate class
.documentButtonMenu {
position: relative;
@@ -82,7 +93,6 @@
top: 0;
overflow-y: auto;
overflow-x: hidden;
- flex-wrap: wrap;
transition: top 0.5s;
> div {
@@ -102,6 +112,11 @@
height: auto;
}
+ .collectionNoteTakingView-columnStack {
+ height: 100%;
+ width: 100%;
+ display: inline-block;
+ }
.collectionNoteTakingView-Nodes {
width: 100%;
height: 100%;
@@ -113,6 +128,11 @@
left: 0;
width: 100%;
position: absolute;
+ margin: auto;
+ width: max-content;
+ height: max-content;
+ position: relative;
+ grid-auto-rows: 0px;
}
.collectionNoteTakingView-description {
@@ -133,6 +153,16 @@
margin-left: -5;
}
+ .collectionNoteTakingView-sectionDelete {
+ display: none;
+ position: absolute;
+ right: 0;
+ width: max-content;
+ height: max-content;
+ top: 10;
+ padding: 2;
+ }
+
// Documents in NoteTaking view
.collectionNoteTakingView-columnDoc {
display: flex;
@@ -347,14 +377,6 @@
}
}
}
-
- .collectionNoteTakingView-sectionDelete {
- position: absolute;
- right: 25px;
- top: 0;
- height: 100%;
- display: none;
- }
}
.collectionNoteTakingView-sectionHeader:hover {