Skip to content

Commit 1b5c278

Browse files
paodbjavier-godoy
authored andcommitted
fix(demo): update demo default styles
1 parent d781df3 commit 1b5c278

File tree

1 file changed

+5
-2
lines changed
  • src/test/resources/META-INF/resources/frontend/styles/orgchart

1 file changed

+5
-2
lines changed

src/test/resources/META-INF/resources/frontend/styles/orgchart/demo-styles.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
.chart-container {
2222
position: relative;
2323
display: inline-block;
24-
top: 10px;
2524
left: 10px;
2625
width: calc(100% - 24px);
2726
text-align: center;
@@ -56,7 +55,11 @@ vaadin-checkbox.smallcheckbox {
5655
}
5756

5857
fc-orgchart p {
59-
max-width:70%;
58+
max-width:calc(100% - 70px);
59+
}
60+
61+
.orgchart {
62+
padding: 0;
6063
}
6164

6265
.image-title-demo .orgchart .title .symbol {

0 commit comments

Comments
 (0)