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

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

parent 67b58756
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)
......@@ -16,7 +16,7 @@ export const PluginContent = (): JSX.Element => {
<div
id={PLUGINS_CONTENT_ELEMENT_ID}
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 => {
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}>
<Icon name="reload" />
</button>
......
......@@ -21,7 +21,7 @@ export const PluginsHeader = (): JSX.Element => {
data-testid="drawer-plugins-header"
>
<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</>}
</div>
<IconButton
......
......@@ -24,7 +24,7 @@ export const PluginsTabs = (): JSX.Element => {
return (
<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"
>
{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