@@ -85,7 +85,7 @@ export default class BrowserCell extends Component {
85
85
}
86
86
87
87
content = this . props . onPointerClick ? (
88
- < Pill value = { dataValue } onClick = { this . props . onPointerClick . bind ( undefined , this . props . value ) } followClick = { true } />
88
+ < Pill value = { dataValue } onClick = { this . props . onPointerClick . bind ( undefined , this . props . value ) } followClick = { true } shrinkablePill />
89
89
) : (
90
90
dataValue
91
91
) ;
@@ -102,7 +102,7 @@ export default class BrowserCell extends Component {
102
102
const object = new Parse . Object ( v . className ) ;
103
103
object . id = v . objectId ;
104
104
array . push (
105
- < Pill key = { i } value = { v . objectId } onClick = { this . props . onPointerClick . bind ( undefined , object ) } followClick = { true } />
105
+ < Pill key = { i } value = { v . objectId } onClick = { this . props . onPointerClick . bind ( undefined , object ) } followClick = { true } shrinkablePill />
106
106
) ;
107
107
} ) ;
108
108
this . copyableValue = content = < ul >
@@ -129,7 +129,7 @@ export default class BrowserCell extends Component {
129
129
this . copyableValue = content = JSON . stringify ( this . props . value ) ;
130
130
} else if ( this . props . type === 'File' ) {
131
131
const fileName = this . props . value . url ( ) ? getFileName ( this . props . value ) : 'Uploading\u2026' ;
132
- content = < Pill value = { fileName } fileDownloadLink = { this . props . value . url ( ) } /> ;
132
+ content = < Pill value = { fileName } fileDownloadLink = { this . props . value . url ( ) } shrinkablePill /> ;
133
133
this . copyableValue = fileName ;
134
134
} else if ( this . props . type === 'ACL' ) {
135
135
let pieces = [ ] ;
@@ -159,7 +159,7 @@ export default class BrowserCell extends Component {
159
159
} else if ( this . props . type === 'Relation' ) {
160
160
content = this . props . setRelation ? (
161
161
< div style = { { textAlign : 'center' } } >
162
- < Pill onClick = { ( ) => this . props . setRelation ( this . props . value ) } value = 'View relation' followClick = { true } />
162
+ < Pill onClick = { ( ) => this . props . setRelation ( this . props . value ) } value = 'View relation' followClick = { true } shrinkablePill />
163
163
</ div >
164
164
) : (
165
165
'Relation'
0 commit comments