Browse Source

refactor(FloatingBox): no longer hide the box-header when scrolling in the box

Kristian Vos 3 years ago
parent
commit
ab46437368
1 changed files with 2 additions and 1 deletions
  1. 2 1
      frontend/src/components/FloatingBox.vue

+ 2 - 1
frontend/src/components/FloatingBox.vue

@@ -174,8 +174,9 @@ export default {
 	.box-body {
 		display: flex;
 		flex-wrap: wrap;
-		justify-content: space-evenly;
 		padding: 10px;
+		height: calc(100% - 24px); /* 24px is the height of the box-header */
+		overflow: auto;
 
 		span {
 			padding: 3px 6px;