Skip to content

Commit

Permalink
fix: add basic responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Nov 26, 2024
1 parent 0bb5d5c commit d8fcf7f
Show file tree
Hide file tree
Showing 6 changed files with 441 additions and 381 deletions.
1 change: 1 addition & 0 deletions playgrounds/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@fontsource/roboto": "^5.1.0",
"@kobalte/core": "^0.13.7",
"@libsql/client": "^0.14.0",
"@solid-primitives/media": "^2.2.9",
"@solid-primitives/storage": "^4.2.1",
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.14.7",
Expand Down
28 changes: 25 additions & 3 deletions playgrounds/app/src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@

body {
@apply bg-background text-foreground;
font-feature-settings:
'rlig' 1,
'calt' 1;
font-feature-settings: 'rlig' 1, 'calt' 1;
}
}

Expand Down Expand Up @@ -148,3 +146,27 @@
#app {
@apply min-h-screen flex flex-col;
}

.collapsible__content {
overflow: hidden;
animation: slideUp 300ms ease-out;
}
.collapsible__content[data-expanded] {
animation: slideDown 300ms ease-out;
}
@keyframes slideDown {
from {
height: 0;
}
to {
height: var(--kb-collapsible-content-height);
}
}
@keyframes slideUp {
from {
height: var(--kb-collapsible-content-height);
}
to {
height: 0;
}
}
Loading

0 comments on commit d8fcf7f

Please sign in to comment.