Skip to content

Commit

Permalink
Fix row background styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ltouroumov committed Nov 19, 2024
1 parent d1208f3 commit c2f1860
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions components/viewer/ViewProjectRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,9 @@ const isVisible = computed(() => condition(selectedIds.value));
display: flex;
flex-direction: column;
}
.row-header {
overflow: auto;
}
}
</style>
7 changes: 4 additions & 3 deletions components/viewer/style/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ export class RowStylesGen extends StyleGenerator<RowStyles> {

static TEMPLATE: string = `
.project-row {
{{#if rowBgColorIsOn}}
background-color: {{rowBgColor}};
{{/if}}
.row-title {
font-family: {{rowTitle}};
Expand Down Expand Up @@ -136,6 +133,10 @@ export class RowStylesGen extends StyleGenerator<RowStyles> {
{{/if}}
}
.row-header {
{{#if rowBgColorIsOn}}
background-color: {{rowBgColor}};
{{/if}}
margin-left: {{rowMargin}}%;
margin-right: {{rowMargin}}%;
Expand Down

0 comments on commit c2f1860

Please sign in to comment.