Skip to content

Commit

Permalink
fix responsivity issue for flow tab graph
Browse files Browse the repository at this point in the history
  • Loading branch information
ngottlieb committed Aug 23, 2024
1 parent f090207 commit 5092dd9
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/app/views/river-detail/components/flow-tab/flow-tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
style="max-width: 100%; "
class="mb-spacing-sm"
>
<div :style="chartSize">
<div>
<flow-chart
:gauge-correlation="gauge"
:readings="gauge.readings"
Expand Down Expand Up @@ -271,13 +271,6 @@ export default {
reachId () {
return this.$route.params.id
},
chartSize () {
if (this.windowWidth > this.$options.breakpoints.md) {
return null
} else {
return 'position:relative;width:' + this.$options.breakpoints.sm * 2 + 'px'
}
},
}
,
watch: {
Expand Down

0 comments on commit 5092dd9

Please sign in to comment.