WebashalarForML commited on
Commit
bf54a0a
·
verified ·
1 Parent(s): b324727

Update templates/create_db.html

Browse files
Files changed (1) hide show
  1. templates/create_db.html +7 -9
templates/create_db.html CHANGED
@@ -10,8 +10,7 @@
10
  .container {
11
  display: flex;
12
  flex-direction: column;
13
- height: 50vh;
14
- overflow: hidden;
15
  }
16
 
17
  .card {
@@ -20,8 +19,11 @@
20
  color: #f5f5f5;
21
  border: none;
22
  width: 50%;
23
- max-height: calc(50vh - 50px);
24
- overflow-y: auto;
 
 
 
25
  }
26
 
27
  .card-header {
@@ -29,9 +31,6 @@
29
  border-bottom: 2px solid #444;
30
  padding: 1rem;
31
  text-align: center;
32
- position: sticky;
33
- top: 0;
34
- z-index: 1000;
35
  }
36
 
37
  .form-label {
@@ -100,7 +99,7 @@
100
  display: flex;
101
  justify-content: center;
102
  align-items: center;
103
- height: 100px; /* Optional: Add height if needed to ensure vertical alignment */
104
  }
105
  </style>
106
 
@@ -144,7 +143,6 @@
144
  <div class="button-spinner"></div>
145
  </button>
146
  </div>
147
-
148
  </form>
149
  </div>
150
  </div>
 
10
  .container {
11
  display: flex;
12
  flex-direction: column;
13
+ height: 75vh; /* Fill the viewport height */
 
14
  }
15
 
16
  .card {
 
19
  color: #f5f5f5;
20
  border: none;
21
  width: 50%;
22
+ height: 70%; /* Fixed height for the card */
23
+ display: flex;
24
+ flex-direction: column;
25
+ justify-content: space-between;
26
+ padding: 1rem;
27
  }
28
 
29
  .card-header {
 
31
  border-bottom: 2px solid #444;
32
  padding: 1rem;
33
  text-align: center;
 
 
 
34
  }
35
 
36
  .form-label {
 
99
  display: flex;
100
  justify-content: center;
101
  align-items: center;
102
+ height: 100px;
103
  }
104
  </style>
105
 
 
143
  <div class="button-spinner"></div>
144
  </button>
145
  </div>
 
146
  </form>
147
  </div>
148
  </div>