mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore/Nit: Fix minor alignment issue in panel editor (#40232)
This commit is contained in:
parent
5bf37d36e7
commit
78ebac0116
@ -173,6 +173,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
padding: ${theme.spacing(1)};
|
||||
background: ${theme.colors.background.primary};
|
||||
border: 1px solid ${theme.components.panel.borderColor};
|
||||
border-top-left-radius: ${theme.shape.borderRadius(1.5)};
|
||||
border-bottom: none;
|
||||
`,
|
||||
closeButton: css`
|
||||
|
@ -507,7 +507,6 @@ export const getStyles = stylesFactory((theme: GrafanaTheme, props: Props) => {
|
||||
min-height: 0;
|
||||
width: 100%;
|
||||
padding-left: ${paneSpacing};
|
||||
padding-right: 2px;
|
||||
`,
|
||||
tabsWrapper: css`
|
||||
height: 100%;
|
||||
|
@ -38,7 +38,7 @@ export const PanelEditorTabs: FC<PanelEditorTabsProps> = React.memo(({ panel, da
|
||||
|
||||
return (
|
||||
<div className={styles.wrapper}>
|
||||
<TabsBar className={styles.tabBar}>
|
||||
<TabsBar className={styles.tabBar} hideBorder>
|
||||
{tabs.map((tab) => {
|
||||
if (config.unifiedAlertingEnabled && tab.id === PanelEditorTabId.Alert) {
|
||||
return (
|
||||
@ -107,7 +107,10 @@ const getStyles = (theme: GrafanaTheme2) => {
|
||||
flex-grow: 1;
|
||||
min-height: 0;
|
||||
background: ${theme.colors.background.primary};
|
||||
border-right: 1px solid ${theme.components.panel.borderColor};
|
||||
border: 1px solid ${theme.components.panel.borderColor};
|
||||
border-left: none;
|
||||
border-bottom: none;
|
||||
border-top-right-radius: ${theme.shape.borderRadius(1.5)};
|
||||
`,
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user