Skip to content
Snippets Groups Projects
Commit 44437279 authored by mateusz-winiarczyk's avatar mateusz-winiarczyk
Browse files

Merge branch 'MIN-310-plugin-div-container-height' into 'development'

fix(plugin): plugin div container height (MIN-310)

Closes MIN-310

See merge request !167
parents 67b58756 b4687811
No related branches found
No related tags found
2 merge requests!223reset the pin numbers before search results are fetch (so the results will be...,!167fix(plugin): plugin div container height (MIN-310)
Pipeline #88382 passed
...@@ -16,7 +16,7 @@ export const PluginContent = (): JSX.Element => { ...@@ -16,7 +16,7 @@ export const PluginContent = (): JSX.Element => {
<div <div
id={PLUGINS_CONTENT_ELEMENT_ID} id={PLUGINS_CONTENT_ELEMENT_ID}
data-testid="drawer-plugins-content" data-testid="drawer-plugins-content"
className="h-full" className="h-[calc(100%-166px)] max-h-[calc(100%-166px)] overflow-y-auto"
/> />
</> </>
); );
......
...@@ -23,7 +23,9 @@ export const PluginHeaderInfo = ({ plugin }: Props): JSX.Element => { ...@@ -23,7 +23,9 @@ export const PluginHeaderInfo = ({ plugin }: Props): JSX.Element => {
return ( return (
<> <>
Plugin: <b>{plugin.name}</b> <p className="truncate">
Plugin: <b title={plugin.name}>{plugin.name}</b>
</p>
<button type="button" onClick={reloadPlugin} role={RELOAD_PLUGIN_DRAWER_BUTTON_ROLE}> <button type="button" onClick={reloadPlugin} role={RELOAD_PLUGIN_DRAWER_BUTTON_ROLE}>
<Icon name="reload" /> <Icon name="reload" />
</button> </button>
......
...@@ -21,7 +21,7 @@ export const PluginsHeader = (): JSX.Element => { ...@@ -21,7 +21,7 @@ export const PluginsHeader = (): JSX.Element => {
data-testid="drawer-plugins-header" data-testid="drawer-plugins-header"
> >
<div className="flex w-full justify-between"> <div className="flex w-full justify-between">
<div className="flex items-center gap-2 text-xl"> <div className="flex max-w-[90%] items-center gap-2 text-xl">
{currentPlugin ? <PluginHeaderInfo plugin={currentPlugin} /> : <>No plugin selected</>} {currentPlugin ? <PluginHeaderInfo plugin={currentPlugin} /> : <>No plugin selected</>}
</div> </div>
<IconButton <IconButton
......
...@@ -24,7 +24,7 @@ export const PluginsTabs = (): JSX.Element => { ...@@ -24,7 +24,7 @@ export const PluginsTabs = (): JSX.Element => {
return ( return (
<div <div
className="flex h-10 w-full flex-row flex-nowrap justify-start border-b border-b-divide bg-white-pearl text-xs" className="flex w-full flex-row flex-nowrap justify-start overflow-x-auto overflow-y-clip border-b border-b-divide bg-white-pearl text-xs"
data-testid="drawer-plugins-tab" data-testid="drawer-plugins-tab"
> >
{isPluginsEmpty ? pluginsEmptyInfo : pluginsTabs} {isPluginsEmpty ? pluginsEmptyInfo : pluginsTabs}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment