harrytarlton commited on
Commit
44defd2
·
1 Parent(s): 821dfd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -4
app.py CHANGED
@@ -57,16 +57,27 @@ body {
57
 
58
  /* File panel container fix */
59
  .file-panel-container {
60
- height: 100%;
61
- max-height: 100%;
 
62
  overflow: hidden;
 
 
 
 
 
 
 
 
 
63
  }
64
 
65
  /* File panel styling */
66
  .file-panel {
67
  background: #16213e !important;
68
  border-right: 1px solid #0f3460;
69
- height: 100%;
 
70
  overflow: hidden;
71
  display: flex;
72
  flex-direction: column;
@@ -89,9 +100,11 @@ body {
89
 
90
  /* File list styling */
91
  .file-list {
92
- flex: 1;
 
93
  overflow-y: auto;
94
  padding: 10px;
 
95
  }
96
 
97
  .file-item {
 
57
 
58
  /* File panel container fix */
59
  .file-panel-container {
60
+ height: 100vh !important;
61
+ min-height: 100vh !important;
62
+ max-height: 100vh !important;
63
  overflow: hidden;
64
+ display: flex;
65
+ flex-direction: column;
66
+ }
67
+
68
+ .file-panel-container > div {
69
+ height: 100% !important;
70
+ min-height: 100% !important;
71
+ display: flex;
72
+ flex-direction: column;
73
  }
74
 
75
  /* File panel styling */
76
  .file-panel {
77
  background: #16213e !important;
78
  border-right: 1px solid #0f3460;
79
+ height: 100vh !important;
80
+ min-height: 100vh !important;
81
  overflow: hidden;
82
  display: flex;
83
  flex-direction: column;
 
100
 
101
  /* File list styling */
102
  .file-list {
103
+ flex: 1 1 auto;
104
+ min-height: 0;
105
  overflow-y: auto;
106
  padding: 10px;
107
+ height: calc(100vh - 80px); /* Subtract header height */
108
  }
109
 
110
  .file-item {