feat(lab): Let dropdown grow bigger
This commit is contained in:
parent
4bc4ab8e6c
commit
94923f11d8
2 changed files with 4 additions and 1 deletions
|
@ -14,7 +14,7 @@ const PatternPicker = ({ app }) => {
|
|||
<DesignIcon />
|
||||
<span>Patterns</span>
|
||||
</div>
|
||||
<ul tabIndex="0" className="p-2 shadow menu dropdown-content bg-base-100 rounded-box w-52 max-h-96 overflow-y-scroll">
|
||||
<ul tabIndex="0" className="p-2 shadow menu dropdown-content bg-base-100 rounded-box w-52 overflow-y-scroll navdrop">
|
||||
{Object.keys(app.patterns).map(section => (
|
||||
<React.Fragment key={section}>
|
||||
<li className={`
|
||||
|
|
|
@ -15,6 +15,9 @@
|
|||
h6 { @apply text-base-content text-base font-bold lg:text-lg }
|
||||
p { @apply text-base-content my-1 py-2 lg:text-xl }
|
||||
|
||||
/* Dropdowns */
|
||||
.navdrop { max-height: 80vh; }
|
||||
|
||||
/* mdx styles */
|
||||
.mdx a { @apply text-secondary underline decoration-1 }
|
||||
.mdx a:hover { @apply text-secondary-focus decoration-2 decoration-current }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue