Ver Fonte

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

Kristian Vos há 3 anos atrás
pai
commit
ab46437368
1 ficheiros alterados com 2 adições e 1 exclusões
  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;