Skip to content

Commit

Permalink
gs-ir: DocZonesShowDetails: fixed bad modal display
Browse files Browse the repository at this point in the history
  • Loading branch information
plassalas committed Sep 20, 2017
1 parent af2982a commit 6d7ca09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@
@StyleClass(path = { FlexDiv.class, FiltersDiv.class }, value = "filter-results")
@Style(path = FlexDiv.class, name = "display", value = "block")
@Style(path = FlexDiv.class, name = "padding", value = "1.5em")
@Style(path = FlexDiv.class, name = "max-height", value = "fit-content")
@Style(path = FlexDiv.class, name = "width", value = "inherit")
public class DocZonesShowDetails extends ModalWithDisplay {

@FlexDirectionStyle(FlexDirection.ROW)
@StyleClass("ocr-row")
@Children({ FilterNames.class, FiltersOcrText.class })
@ForEach(OCR_SELECTOR.class)
public static class FiltersDiv extends FlexDiv {
Expand All @@ -32,13 +33,15 @@ public static class FiltersDiv extends FlexDiv {
@FlexDirectionStyle(FlexDirection.COLUMN)
@BindText
@StyleClass({ "ocr", "ocr-label" })
@Style(name = "flex", value = "1")
public static class FilterNames extends FlexDiv {
// Print the filtername
}

@FlexDirectionStyle(FlexDirection.COLUMN)
@BindText(OCR_TEXT.class)
@StyleClass({ "ocr", "ocr-text" })
@Style(name = "flex", value = "1")
public static class FiltersOcrText extends FlexDiv {
// Print the ocr text for the corresponding filter
}
Expand Down
5 changes: 0 additions & 5 deletions gs-ir/src/main/resources/watchapp.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@ button {
width: auto;
}

.ocr-row {
width: 90%;
margin: auto;
}

.ocr {
margin: 0.2em 0.5em;
}
Expand Down

0 comments on commit 6d7ca09

Please sign in to comment.