Преглед изворни кода

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

Kristian Vos пре 3 година
родитељ
комит
ab46437368
1 измењених фајлова са 2 додато и 1 уклоњено
  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;