Skip to content

Commit

Permalink
fix(checkbox): spacing problem (#783)
Browse files Browse the repository at this point in the history
* fix: flex problem

* fix: adding missing event in storybook

* fix: data grid pagination problems with fit-content
  • Loading branch information
marvinLaubenstein authored Jan 13, 2022
1 parent 8f84642 commit 3507aa2
Show file tree
Hide file tree
Showing 27 changed files with 32 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/components/checkbox/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ scale-checkbox {
:host,
scale-checkbox {
display: flex;
width: fit-content;
padding: 0 2px 0 2px;
flex-direction: column;
color: var(--color-text);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
<template>
<scale-checkbox
:name="name"
:label="label"
:helper-text="helperText"
:invalid="invalid"
:disabled="disabled"
:checked="checked"
:indeterminate="indeterminate"
:value="value"
:input-id="inputId"
@scaleChange="scaleChange"
>
</scale-checkbox>
</template>

<script>
import { action } from '@storybook/addon-actions';
export default {
props: {
name: { type: String },
Expand All @@ -9,7 +27,17 @@ export default {
checked: { type: Boolean },
indeterminate: { type: Boolean },
value: { type: String },
inputId: { type: String }
}
inputId: { type: String },
},
methods: {
scaleChange($event) {
action('scaleChange');
this.$emit('scaleChange', $event);
},
'scale-change'($event) {
action('scale-change');
this.$emit('scale-change', $event);
},
},
};
</script>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3507aa2

Please sign in to comment.