Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Align label and buttons in ToggleButtonGroup #19036

Merged
merged 1 commit into from
Sep 12, 2019

Conversation

peterholmberg
Copy link
Contributor

What this PR does / why we need it:
The ToggleButtonGroup component has an option for add a label next to the buttons. Currently, the buttons and label are not aligned well.
Screenshot 2019-09-11 at 15 40 27

This PR aligns label and buttons and adds a story for storybook.
Screenshot 2019-09-12 at 14 08 25

@peterholmberg peterholmberg merged commit dc0bfb2 into master Sep 12, 2019
@peterholmberg peterholmberg deleted the fix-toggle-button-group branch September 12, 2019 12:42
ryantxu added a commit to ryantxu/grafana that referenced this pull request Sep 12, 2019
* grafana/master:
  toolkit: fix master build, avoid null check (grafana#19055)
  Auth: Allow inviting existing users when login form is disabled (grafana#19048)
  MSSQL: Fix memory leak when debug enabled (grafana#19049)
  Update CONTRIBUTING.md (grafana#19051)
  Update README.md (grafana#19047)
  toolkit: pipe execa output to console.stdout (grafana#19052)
  QueryProcessing: Observable query interface and RxJS for query & stream processing   (grafana#18899)
  Fix exit live mode icon: change back to Stop. (grafana#19043)
  Loki: Fix vertical alignment issue in label selector (grafana#18943)
  Fix: Align buttons and label in ToggleButtonGroup (grafana#19036)
  toolkit: run make for backend plugins (grafana#19029)
  Explore: Fix auto completion on label values for Loki (grafana#18988)
  TimeSeries: Replace fieldName with fieldIndex  (grafana#19030)
  DataLinksInput - change the way enter key is handled (grafana#18985)
  TimeSeries: Add data frame index and field name (grafana#19005)
  Packages: update versioning and release process (grafana#18195)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants