Do not truncate strings on activity stream dropdown (#12020)

Do not truncate strings on activity stream dropdown

See: https://github.com/ansible/awx/issues/11399
This commit is contained in:
Kersom 2022-04-08 16:45:32 -04:00 committed by GitHub
parent 4b98df237e
commit 27dc8caabd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,13 @@
import React, { useState, useEffect, useCallback } from 'react';
import { useLocation, useHistory } from 'react-router-dom';
import styled from 'styled-components';
import { t } from '@lingui/macro';
import {
Card,
PageSection,
PageSectionVariants,
SelectGroup,
Select,
Select as PFSelect,
SelectVariant,
SelectOption,
Title,
@ -26,6 +26,14 @@ import { ActivityStreamAPI } from 'api';
import ActivityStreamListItem from './ActivityStreamListItem';
const Select = styled(PFSelect)`
&& {
width: auto;
white-space: nowrap;
max-height: 480px;
}
`;
function ActivityStream() {
const { light } = PageSectionVariants;
@ -116,8 +124,6 @@ function ActivityStream() {
{t`Activity Stream type selector`}
</span>
<Select
width="250px"
maxHeight="480px"
variant={SelectVariant.single}
aria-labelledby="grouped-type-select-id"
typeAheadAriaLabel={t`Select an activity type`}