Row: Fixes issue with row content going outside it's bounds (#103350)
* Row: Fixes issue with row grid going outside it's bounds * updated fix
This commit is contained in:
@@ -145,7 +145,6 @@ export function RowItemRenderer({ model }: SceneComponentProps<RowItem>) {
|
||||
function getStyles(theme: GrafanaTheme2) {
|
||||
return {
|
||||
rowHeader: css({
|
||||
width: '100%',
|
||||
display: 'flex',
|
||||
gap: theme.spacing(1),
|
||||
padding: theme.spacing(0.5, 0.5, 0.5, 0),
|
||||
@@ -193,13 +192,13 @@ function getStyles(theme: GrafanaTheme2) {
|
||||
wrapper: css({
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
width: '100%',
|
||||
minHeight: '100px',
|
||||
}),
|
||||
wrapperNotCollapsed: css({
|
||||
'> div:nth-child(2)': {
|
||||
marginLeft: theme.spacing(3),
|
||||
position: 'relative',
|
||||
width: 'auto',
|
||||
|
||||
'&:before': {
|
||||
content: '""',
|
||||
|
||||
Reference in New Issue
Block a user