mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
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:
parent
4b98df237e
commit
27dc8caabd
@ -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`}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user