Skip to content

Commit

Permalink
create route documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Schmidt <tim@launchbadge.com>
  • Loading branch information
Sheng-Long committed Nov 7, 2023
1 parent c352a1a commit d3e2230
Show file tree
Hide file tree
Showing 3 changed files with 401 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Property.vue
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ export default defineComponent({
type: Boolean,
default: false
},
wideName: {
type: Boolean,
default: false
},
customNbColClass: String
},
setup(props){
Expand All @@ -70,7 +74,7 @@ export default defineComponent({
const isSmallScreen = inject('isSmallScreen', true)
const isTouchDevice = inject('isTouchDevice', false)
const nbColClass = computed(() => props.customNbColClass ?? (props.fullWidth ? 'is-2' : 'is-one-third'))
const nbColClass = computed(() => props.customNbColClass ?? (props.wideName ? '' : props.fullWidth ? 'is-2' : 'is-one-third'))
return {
nameId,
Expand Down
Loading

0 comments on commit d3e2230

Please sign in to comment.