Skip to content

Commit

Permalink
Merge pull request anuragverma108#1411 from Ketanop321/fixed-dropdown…
Browse files Browse the repository at this point in the history
…-element

fixed dropdown element
  • Loading branch information
anuragverma108 authored Jun 5, 2024
2 parents 253ddfb + fe02293 commit 1f76aea
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
3 changes: 2 additions & 1 deletion assets/css/aboutus.css
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,5 @@ h1, h2, h3 {
top: auto;
position: relative;
}
}
}

30 changes: 26 additions & 4 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,25 @@ body {
transition: all 0.3s ease;
top: 100%;
text-align: center;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
border-radius: 8px;
background-color: transparent;
overflow: hidden;
padding: 5px;
width: 200px;
border: 1px solid #ddd; /* Add a light gray border */

}

.dropdown-menu-item {
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.dropdown-menu-item:last-child {
margin-bottom: 0;
}

.dropdown-menu-list {
Expand All @@ -645,13 +664,15 @@ body {
padding: 0;
}

.dropdown-menu-item {
padding: 12px 16px;
}


.dropdown-menu-item a {
text-decoration: none;
color: #000;
color: #fff; /* White color for links */
display: block;
font-family: 'Roboto', sans-serif;
font-size: 14px;
}

.dropdown-item:first-child {
Expand Down Expand Up @@ -763,6 +784,7 @@ body {
z-index: 1;
transition: all 0.3s ease;
top: 100%;

}

.dropdown-menu-list {
Expand All @@ -772,7 +794,7 @@ body {
}

.dropdown-menu-item {
padding: 12px 16px;
padding: 4px 10px;
}

.dropdown-menu-item a {
Expand Down

0 comments on commit 1f76aea

Please sign in to comment.