.graph-wrapper {
  padding-top: 15px; // So graph title doesn't abut border
  margin-top: 0;
  margin-bottom: 16px;
  overflow: hidden;
}

.graph-title {
  margin: 0;
  text-align: center;
  color: black;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4; // so descenders don't clip
}

.query-browser__wrapper {
  border: 1px solid $color-grey-background-border;
  margin: 0 0 20px 0;
  overflow: visible;
  padding: 10px;
  width: 100%;
}

.query-browser__header {
  align-items: center;
  display: flex;
  flex-wrap: wrap-reverse;
  padding: 10px;
  width: 100%;
}

.query-browser__span-text {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  width: 80px;
}

.query-browser__span-dropdown {
  border-bottom-left-radius: 0;
  border-left: none;
  border-top-left-radius: 0;
  width: 30px;
  .caret {
    margin-left: 0;
    margin-right: 1px;
  }
}

.query-browser__span-dropdown-menu {
  min-width: 110px;
}

.query-browser__span-dropdown, .query-browser__span-dropdown-menu, .query-browser__span-reset {
  margin-right: 20px;
}

.query-browser__loading {
  width: 20px;
}

.query-browser__external-link {
  margin-left: auto;
}

.query-browser__error {
  margin: 10px 10px 20px 10px;
}
