Skip to content

Commit 8b8c1e1

Browse files
committed
Vue: fix ToggleButtonGroup size and alignment
Change-Id: I15921c64efc68e9e808b23239b33e281902019f0
1 parent 340b652 commit 8b8c1e1

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

packages/cmk-frontend-vue/src/components/CmkButton.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ defineProps<ButtonProps>()
5050
margin: 0;
5151
padding: 0 8px;
5252
align-items: center;
53+
justify-content: center;
5354
letter-spacing: unset;
5455
}
5556
.button--variant-primary {
@@ -60,6 +61,7 @@ defineProps<ButtonProps>()
6061
}
6162
.button--variant-tertiary,
6263
.button--variant-transparent {
64+
height: auto;
6365
background: none;
6466
border: none;
6567
padding: 0;

packages/cmk-frontend-vue/src/components/ToggleButtonGroup.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function setSelectedOption(value: string) {
4949
}
5050
5151
.toggle_option {
52+
height: auto;
5253
min-width: 150px;
5354
border: none;
5455
background-color: transparent;

0 commit comments

Comments
 (0)