Skip to content

Commit

Permalink
removed max-inline-size
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrspl committed Aug 24, 2023
1 parent 024eb73 commit 4808e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import { euiFontSize, logicalTextAlignCSS } from '../../global_styling';
import { UseEuiTheme } from '../../services';
import { euiTitle } from '../title/title.styles';

const COLUMN_MAX_WIDTH = '55ch'; // Is this intentional? I was under the impression we were only setting a max-width on titles

export const euiDescriptionListDescriptionStyles = (
euiThemeContext: UseEuiTheme
) => {
Expand All @@ -21,9 +19,7 @@ export const euiDescriptionListDescriptionStyles = (

// Types
row: css``,
column: css`
max-inline-size: ${COLUMN_MAX_WIDTH};
`,
column: css``,
inline: css`
display: inline;
`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import {
import { UseEuiTheme } from '../../services';
import { euiTitle } from '../title/title.styles';

const COLUMN_MAX_WIDTH = '55ch';

export const euiDescriptionListTitleStyles = (euiThemeContext: UseEuiTheme) => {
const { euiTheme, colorMode } = euiThemeContext;

Expand All @@ -28,9 +26,7 @@ export const euiDescriptionListTitleStyles = (euiThemeContext: UseEuiTheme) => {

// Types
row: css``,
column: css`
max-inline-size: ${COLUMN_MAX_WIDTH};
`,
column: css``,
inline: css`
display: inline;
border-radius: ${euiTheme.border.radius.small};
Expand Down

0 comments on commit 4808e81

Please sign in to comment.