DSatishchandra commited on
Commit
ec8a3eb
·
verified ·
1 Parent(s): b5a4264

Update templates/menu.html

Browse files
Files changed (1) hide show
  1. templates/menu.html +3 -3
templates/menu.html CHANGED
@@ -145,7 +145,7 @@
145
  margin-top: 180px; /* Adjust spacing based on navbar and search bar */
146
  }
147
  .fixed-top-bar {
148
- position: centre;
149
  top: 0;
150
  left: 0;
151
  width: 100%;
@@ -156,14 +156,14 @@
156
  padding: 15px;
157
  display: flex;
158
  justify-content: space-between;
159
- align-items: center;
160
  }
161
 
162
  .avatar-dropdown-container {
163
  position: absolute;
164
  right: 20px; /* Adjust the value as needed to position it properly */
165
  top: 50%; /* Adjust top to place it within the header */
166
- /*transform: translateY(-50%); /* Correct the alignment to be perfectly centered */
167
  display: flex;
168
  align-items: center;
169
  justify-content: center;
 
145
  margin-top: 180px; /* Adjust spacing based on navbar and search bar */
146
  }
147
  .fixed-top-bar {
148
+ position: fixed;
149
  top: 0;
150
  left: 0;
151
  width: 100%;
 
156
  padding: 15px;
157
  display: flex;
158
  justify-content: space-between;
159
+ align-items: center; /* Vertically align items */
160
  }
161
 
162
  .avatar-dropdown-container {
163
  position: absolute;
164
  right: 20px; /* Adjust the value as needed to position it properly */
165
  top: 50%; /* Adjust top to place it within the header */
166
+ transform: translateY(-50%); /* Correct the alignment to be perfectly centered */
167
  display: flex;
168
  align-items: center;
169
  justify-content: center;