From 99074a262def4e1ef3107ae03fbfa9f1eeb0d107 Mon Sep 17 00:00:00 2001 From: Zoe Steinkamp Date: Thu, 21 May 2020 12:50:53 -0600 Subject: [PATCH] fix: adjust dropdown width + changelog additions (#18185) Also update changelog --- CHANGELOG.md | 3 +++ ui/src/variables/components/VariableDropdown.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 293b5008f9..81415841dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,15 @@ 1. [18011](https://github.com/influxdata/influxdb/pull/18011): Integrate UTC dropdown when making custom time range query 1. [18040](https://github.com/influxdata/influxdb/pull/18040): Allow for min OR max y-axis visualization settings rather than min AND max 1. [17764](https://github.com/influxdata/influxdb/pull/17764): Add CSV to line protocol conversion library +1. [18059](https://github.com/influxdata/influxdb/pull/18059): Make the dropdown width adjustable ### Bug Fixes 1. [18066](https://github.com/influxdata/influxdb/pull/18066): Fixed bug that wasn't persisting timeFormat for Graph + Single Stat selections 1. [17959](https://github.com/influxdata/influxdb/pull/17959): Authorizer now exposes full permission set 1. [18071](https://github.com/influxdata/influxdb/pull/18071): Fixed issue that was causing variable selections to hydrate all variable values +1. [18016](https://github.com/influxdata/influxdb/pull/18016): Remove the fancy scrollbars +1. [18171](https://github.com/influxdata/influxdb/pull/18171): Check status now displaying warning if loading a large amount ### UI Improvements diff --git a/ui/src/variables/components/VariableDropdown.tsx b/ui/src/variables/components/VariableDropdown.tsx index 6969c7932d..77a02275d5 100644 --- a/ui/src/variables/components/VariableDropdown.tsx +++ b/ui/src/variables/components/VariableDropdown.tsx @@ -46,7 +46,7 @@ class VariableDropdown extends PureComponent { const longestItemWidth = Math.floor( values.reduce(function(a, b) { return a.length > b.length ? a : b - }, '').length * 8.5 + }, '').length * 8.75 ) const widthLength = Math.max(140, longestItemWidth)