Skip to content

Commit

Permalink
Merge pull request #3037 from nextcloud/backport/3024/stable5.0
Browse files Browse the repository at this point in the history
[stable5.0] Fix org chart card overlapping other card expand button
  • Loading branch information
JuliaKirschenheuter authored Oct 14, 2022
2 parents d04cc73 + 0248552 commit e1a1e29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/components/ChartTemplate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@ export default {
<style lang="scss" scoped>
.org-chart-node {
background-color: var(--color-main-background);
padding-top: 1px;
height: 175px;
border-radius: var(--border-radius-large);
overflow: visible;
&__avatar {
margin-top: -30px;
margin-left: 95px;
border: 1px solid var(--color-border);
}
.inner-box {
display: flex;
flex-direction: column;
align-items: center;
height: 175px;
padding-top: 0;
margin-top: 30px;
border: 1px solid var(--color-border);
border-radius: var(--border-radius-large);
background-color: var(--color-main-background);
Expand All @@ -104,6 +104,7 @@ export default {
.description {
display: flex;
justify-content: space-between;
width: 100%;
padding: 15px;
}
}
Expand All @@ -113,6 +114,7 @@ export default {
}
.panel {
width: 100%;
margin: -34px -1px 0 -1px;
background-color: var(--color-primary);
height: 15px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/OrgChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default {
.data(data)
.nodeWidth(() => 250)
.initialZoom(1)
.nodeHeight(() => 175)
.nodeHeight(() => 200)
.childrenMargin(() => 70)
.compactMarginBetween(() => 15)
.compactMarginPair(() => 80)
Expand Down

0 comments on commit e1a1e29

Please sign in to comment.