mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-22 07:03:56 -06:00
Fix text wrapping issue for tags feature. #8192
This commit is contained in:
parent
c3a334f8df
commit
9e58717321
@ -51,15 +51,7 @@ export function menuSearch(param, props) {
|
||||
|
||||
const mainMenus = pgAdmin.Browser.MainMenus;
|
||||
mainMenus.forEach((menu) => {
|
||||
let subMenus = [];
|
||||
if(menu.name == 'object') {
|
||||
let selectedNode = pgAdmin.Browser.tree.selected();
|
||||
if(selectedNode) {
|
||||
subMenus = menu.getMenuItems();
|
||||
}
|
||||
} else {
|
||||
subMenus = pgAdmin.Browser.all_menus_cache[menu.name];
|
||||
}
|
||||
const subMenus = menu.getMenuItems();
|
||||
iterItem(Object.values(subMenus), getMenuName(menu));
|
||||
});
|
||||
|
||||
|
@ -167,7 +167,8 @@ export default function reactAspenOverride(theme) {
|
||||
padding: '0px 4px',
|
||||
borderRadius: theme.shape.borderRadius,
|
||||
backgroundColor: 'color-mix(in srgb, color-mix(in srgb, var(--tag-color) 10%, #fff) 50%, transparent);',
|
||||
lineHeight: 1.2
|
||||
lineHeight: 1.2,
|
||||
whiteSpace: 'nowrap'
|
||||
},
|
||||
|
||||
i: {
|
||||
|
Loading…
Reference in New Issue
Block a user