Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
catalog.genesys-pgr.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Catalog
catalog.genesys-pgr.org
Commits
b3450e14
Commit
b3450e14
authored
Nov 08, 2018
by
Oleksii Savran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed partner filter width
parent
a5ecb1ab
Pipeline
#7537
passed with stages
in 4 minutes and 38 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
src/partners/ui/c/SelectPartner.tsx
src/partners/ui/c/SelectPartner.tsx
+12
-3
src/ui/layout/sidebar/SidebarWrapper.tsx
src/ui/layout/sidebar/SidebarWrapper.tsx
+1
-0
No files found.
src/partners/ui/c/SelectPartner.tsx
View file @
b3450e14
...
...
@@ -21,7 +21,7 @@ const styles = (theme) => ({
color
:
'
#000
'
,
},
select
:
{
minWidth
:
'
240px
'
,
width
:
'
100%
'
,
},
shortName
:
{
minWidth
:
'
6em
'
,
...
...
@@ -29,6 +29,12 @@ const styles = (theme) => ({
marginRight
:
'
0.5em
'
,
overflow
:
'
hidden
'
as
'
hidden
'
,
},
fullName
:
{
whiteSpace
:
'
normal
'
as
'
normal
'
,
},
menuItem
:
{
height
:
'
auto
'
as
'
auto
'
,
},
});
interface
ISelectPartnerProps
extends
React
.
ClassAttributes
<
any
>
{
...
...
@@ -101,12 +107,15 @@ class SelectPartner extends React.Component<ISelectPartnerProps, any> {
return
(
<
FormControl
fullWidth
required
=
{
required
}
meta
=
{
meta
}
label
=
{
t
(
label
)
}
>
<
Select
error
=
{
meta
.
touched
&&
meta
.
error
}
className
=
{
classes
.
select
}
value
=
{
useUuid
?
val
||
''
:
val
&&
val
.
uuid
||
''
}
onChange
=
{
this
.
handleChange
}
<
Select
autoWidth
error
=
{
meta
.
touched
&&
meta
.
error
}
className
=
{
classes
.
select
}
value
=
{
useUuid
?
val
||
''
:
val
&&
val
.
uuid
||
''
}
onChange
=
{
this
.
handleChange
}
input
=
{
<
Input
/>
}
>
{
allowNull
&&
<
MenuItem
key
=
"noPartner"
value
=
""
><
em
>
{
t
(
'
partners.public.c.select.select
'
)
}
</
em
></
MenuItem
>
}
{
partners
&&
partners
.
sort
((
a
,
b
)
=>
a
.
shortName
.
localeCompare
(
b
.
shortName
)).
map
((
p
)
=>
<
MenuItem
key
=
{
p
.
uuid
}
value
=
{
p
.
uuid
}
><
span
className
=
{
classes
.
shortName
}
>
{
p
.
shortName
}
</
span
><
Markdown
source
=
{
p
.
name
}
/></
MenuItem
>)
<
MenuItem
className
=
{
classes
.
menuItem
}
key
=
{
p
.
uuid
}
value
=
{
p
.
uuid
}
>
<
span
className
=
{
classes
.
shortName
}
>
{
p
.
shortName
}
</
span
>
<
Markdown
className
=
{
classes
.
fullName
}
source
=
{
p
.
name
}
/>
</
MenuItem
>)
}
</
Select
>
</
FormControl
>
...
...
src/ui/layout/sidebar/SidebarWrapper.tsx
View file @
b3450e14
...
...
@@ -27,6 +27,7 @@ const styles = (theme) => ({
top
:
'
72px
'
,
zIndex
:
10
,
height
:
'
calc(100vh - 72px)
'
,
flex
:
'
0 0 0
'
,
'
& > div
'
:
{
top
:
'
auto
'
as
'
auto
'
,
position
:
'
initial
'
as
'
initial
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment