Skip to content

Commit

Permalink
dialog panel margin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roper79 committed Jan 4, 2019
1 parent 8f7b490 commit 554ca60
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions app/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ footer {
z-index: 50;
}

.dialog-panel {
margin-bottom: 0;
}

.message-box {
display: none;
left: 50px;
Expand Down
2 changes: 1 addition & 1 deletion app/view/ufoa/dialogs/associationDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class AssociationForm extends panels.PaneDialog<Props, State> {

render() {
return (
<Panel className="dialog">
<Panel className="dialog-panel">
<Panel.Heading><strong>{`Association ${this.props.association.a_id}`}</strong></Panel.Heading>
<Panel.Body collapsible={false}>
{this.renderType()}
Expand Down
2 changes: 1 addition & 1 deletion app/view/ufoa/dialogs/entityDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class UfoaNodeForm extends panels.PaneDialog<Props, State> {

render() {
return (
<Panel className="dialog">
<Panel className="dialog-panel">
<Panel.Heading><strong>{this.props.ufoaEntity.e_name}</strong></Panel.Heading>
<Panel.Body collapsible={false}>
{this.renderEntityType()}
Expand Down
2 changes: 1 addition & 1 deletion app/view/ufoa/dialogs/generalisationDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class GeneralisationsForm extends panels.PaneDialog<Props, State> {

render() {
return (
<Panel className="dialog">
<Panel className="dialog-panel">
<Panel.Heading><strong>Generalisation</strong></Panel.Heading>
<Panel.Body collapsible={false}>
{this.renderGSet()}
Expand Down
2 changes: 1 addition & 1 deletion app/view/ufob/dialogs/dispositionModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class DispositionForm extends React.Component<Props, State> {
renderEvents() {
const esIds = this.state.disposition2.d_events_ids;
return (
<Panel className="dialog">
<Panel>
<Panel.Heading>Events caused</Panel.Heading>
<Panel.Body collapsible={false}>
{esIds.length === 0 ?
Expand Down
2 changes: 1 addition & 1 deletion app/view/ufob/dialogs/eventDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ class EventForm extends panels.PaneDialog<Props, State> {

render() {
return (
<Panel className="dialog">
<Panel className="dialog-panel">
<Panel.Heading><strong>{this.props.eventB.ev_name}</strong></Panel.Heading>
<Panel.Body collapsible={false}>
{this.renderEventName()}
Expand Down
2 changes: 1 addition & 1 deletion app/view/ufob/dialogs/situationDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class SituationForm extends panels.PaneDialog<Props, State> {

render() {
return (
<Panel className="dialog">
<Panel className="dialog-panel">
<Panel.Heading><strong>Situation</strong></Panel.Heading>
<Panel.Body collapsible={false}>
{this.renderSituationName()}
Expand Down

0 comments on commit 554ca60

Please sign in to comment.