mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
- Make sure the field exists before trying to show it
- Adjust spacing for table data to not overflow it
This commit is contained in:
@@ -67,7 +67,7 @@ const sourceCode = `https://github.com/meteor/meteor/blob/devel/packages/${props
|
||||
<td>{{ showTypes(param.type.names) }}</td>
|
||||
<template v-if="param.name === 'options'">
|
||||
<td>
|
||||
<span v-html="param.description"></span>
|
||||
<span v-if="param.description" v-html="param.description"></span>
|
||||
<button v-if="(props.options?.length || -1) > 0" type="button" @click="toggleOptionsTable">
|
||||
{{ isOptionsTableOpen ? "Close" : "Open" }} options table
|
||||
<Caret :is-open="isOptionsTableOpen" />
|
||||
@@ -110,6 +110,9 @@ const sourceCode = `https://github.com/meteor/meteor/blob/devel/packages/${props
|
||||
table {
|
||||
text-align: center;
|
||||
}
|
||||
table td {
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.options-table {
|
||||
--easing-dur: calc(var(--vc-auto-duration) * 1.5) cubic-bezier(0.33, 1, 0.68, 1);
|
||||
|
||||
Reference in New Issue
Block a user