Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOUR-14220: The size and color of the dropdown button must be adjusted #1544

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/assets/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
.btn-platform {
background-color: #ffff;
color: #6a7888;
padding: 8px 8px 2px 8px;
}
.btn-platform:hover {
color: #6a7888;
}
.page-dropdown-menu {
min-width: 333px;
}
8 changes: 7 additions & 1 deletion src/components/editor/pagesDropdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@
Dropdown component to display options related to pages.
Provides options to add a new page, see all pages, and select individual pages.
-->
<b-dropdown data-test="page-dropdown" variant="platform" :boundary="boundary">
<b-dropdown
ref="pageDropdown"
data-test="page-dropdown"
variant="platform"
:boundary="boundary"
menu-class="page-dropdown-menu"
>
<!-- Dropdown button content -->
<template #button-content>
<!-- Icon representing a file -->
Expand Down
Loading