We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/deleonio/public-ui-kolibri'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
tooltip-positioning.tsx•980 B
import { KolPopoverButton } from '@public-ui/react-v19';
import type { FC } from 'react';
import React from 'react';
import { SampleDescription } from '../components/SampleDescription';
export const TooltipPositioning: FC = () => {
return (
<>
<SampleDescription>
<p>
This example demonstrates tooltip positioning within container query contexts. Container queries can interfere with fixed positioning, causing
tooltips to render incorrectly relative to the viewport. The layout containment fix ensures tooltips position properly even when their parent elements
use container-based sizing and layout rules.
</p>
</SampleDescription>
<div
style={{
container: 'test / size',
contain: 'layout',
}}
>
<KolPopoverButton _label="Sample PopoverButton—Click for Popover" _icons="kolicon-alert-info" _tooltipAlign="right" _hideLabel>
This is an explanation shown on click.
</KolPopoverButton>
</div>
</>
);
};