Skip to content

IRSA-793 IRSA-798-add image type option to main panel add image source panel option #496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/firefly/js/ui/ImageSelect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import FieldGroupUtils, {getFieldVal} from '../fieldGroup/FieldGroupUtils.js';
import {dispatchComponentStateChange} from '../core/ComponentCntlr.js';
import {updateSet} from '../util/WebUtil.js';

import './ImageSelect.css';
import './NewImageSearchPanel.css';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not duplicating the style is a good idea, but in this case, most of the style in ImageSelect.css is for ImageSelect only. You should have just moved the relevant style from ImageSelect to NewImageSearchPanel.css.



export class ImageSelect extends PureComponent {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@

.OptionPanels {
//box-shadow: 1px 3px 3px 3px rgba(0,0,0,0.16), 0 0 0 3px rgba(0,0,0,0.04);
flex-grow: 0;
white-space: nowrap;
display: flex;
flex-direction: row;
justify-content:center;
height: 40px;
padding-top:15px;

}
.OptionPanelsToolbar {
flex-grow: 0;
background-color: #f5f5f5;
border-bottom: solid 1px #f1f1f1;
height: 15px;
min-height: 15px;
color: #005da4;
font-size: larger;
font-weight: bold;
padding: 3px
}


.ImageSelect {
display: inline-flex;
}
Expand Down
Loading