Skip to content

Commit

Permalink
fix: ResizableBar width based at insights container
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldemylla committed Feb 27, 2024
1 parent ce95215 commit ec11526
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/ResizableBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,13 @@ export default {
</script>

<style lang="scss" scoped>
$insightsContainerPadding: $unnnic-spacing-ant * 2;
.resizable-bar {
z-index: 1;
position: fixed;
position: absolute;
background-color: $unnnic-color-neutral-white;
width: 100%;
width: calc(100% - $insightsContainerPadding);
height: 210px;
&__header {
Expand Down
4 changes: 4 additions & 0 deletions src/layouts/InsightsLayout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ export default {
}
&__insights {
position: relative;
grid-area: insights;
display: flex;
flex-direction: column;
padding: $unnnic-spacing-ant;
Expand Down

0 comments on commit ec11526

Please sign in to comment.