Skip to content

Commit

Permalink
Do not truncate strings on activity stream dropdown (#12020)
Browse files Browse the repository at this point in the history
Do not truncate strings on activity stream dropdown

See: #11399
  • Loading branch information
nixocio committed Apr 8, 2022
1 parent 4b98df2 commit 27dc8ca
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions awx/ui/src/screens/ActivityStream/ActivityStream.js
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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;

Expand Down Expand Up @@ -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`}
Expand Down

0 comments on commit 27dc8ca

Please sign in to comment.