Skip to content

Commit

Permalink
fix #797 Remove hardcoded style from section
Browse files Browse the repository at this point in the history
  • Loading branch information
vegegoku committed Oct 31, 2023
1 parent 0a7d4bd commit 2598bed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.dominokit.domino.ui.utils.BaseDominoElement;
import org.dominokit.domino.ui.utils.DominoElement;

/** The component that contains the left pabel and right panel of the {@link Layout} */
/** The component that contains the left panel and right panel of the {@link Layout} */
public class Section extends BaseDominoElement<HTMLElement, Section> {

HTMLElement section;
Expand All @@ -38,7 +38,6 @@ public Section() {
.id("rightsidebar")
.css(LayoutStyles.RIGHT_SIDEBAR)
.css(LayoutStyles.OVERLAY_OPEN)
.style("height: calc(100vh - 70px); overflow-y: scroll;")
.element();

section = DominoElement.of(section()).add(leftSide).add(rightSide).element();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2658,6 +2658,7 @@ a {
-ms-box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
overflow: hidden;
overflow-y: scroll;
-moz-transition: 0.5s;
-o-transition: 0.5s;
-webkit-transition: 0.5s;
Expand Down

0 comments on commit 2598bed

Please sign in to comment.