|
@@ -28,7 +28,7 @@ export default class BaseHolder extends React.Component {
|
|
|
width,
|
|
|
height,
|
|
|
overflow,
|
|
|
-
|
|
|
+ CoreSystem,
|
|
|
stretchContainer,
|
|
|
content,
|
|
|
...restProps
|
|
@@ -36,7 +36,7 @@ export default class BaseHolder extends React.Component {
|
|
|
if(!width) width = undefined;
|
|
|
if(!height) height = undefined;
|
|
|
let styl = [styles.base];
|
|
|
- if (selected) styl.push(styles.selected);
|
|
|
+ if (CoreSystem._devMode && selected) styl.push(styles.selected);
|
|
|
if (stretchContainer) styl.push(styles.stretchToContent);
|
|
|
return (
|
|
|
// self container
|
|
@@ -52,7 +52,7 @@ export default class BaseHolder extends React.Component {
|
|
|
{content}
|
|
|
<View WRAPPER={true} style={ //children Container
|
|
|
[
|
|
|
- (!!content || stretchContainer) ? styles.stretchToContent : {borderColor:'yellow'},
|
|
|
+ (!!content || stretchContainer) ? styles.stretchToContent : {},
|
|
|
{
|
|
|
justifyContent,
|
|
|
alignItems,
|
|
@@ -89,10 +89,9 @@ const styles = StyleSheet.create({
|
|
|
contentWrapper: {
|
|
|
},
|
|
|
selected: {
|
|
|
- boxShadow: 'inset 0px 0px 1px 1px #fce8e8',
|
|
|
- border: '1px solid #f28d8d',
|
|
|
-
|
|
|
- // boxShadow: 'inset 0px 0px 1px 1px rgba(250,10,0,0.81)',
|
|
|
+
|
|
|
+ borderWidth: 1,
|
|
|
+ borderColor: '#f28d8d',
|
|
|
shadowColor: "rgba(250,10,0,0.81)",
|
|
|
shadowOffset: {
|
|
|
width: 0,
|