mirror of
https://github.com/taskgenius/taskgenius-plugin.git
synced 2026-07-22 06:40:25 +00:00
style(onboarding): improve component preview layout
- Add dedicated styles for sidebar preview component - Change preview container layout from column to row direction - Add horizontal scrolling support for wider preview content - Set fixed width for sidebar preview to maintain proportions
This commit is contained in:
parent
1814877969
commit
1a09c398d9
2 changed files with 26 additions and 16 deletions
|
|
@ -17,6 +17,13 @@
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.tg-v2-container.component-preview-sidebar {
|
||||
width: 200px;
|
||||
min-width: 200px;
|
||||
border-right: 1px solid var(--background-modifier-border);
|
||||
border-top: unset;
|
||||
}
|
||||
|
||||
/* Component showcase container */
|
||||
.component-showcase {
|
||||
display: flex;
|
||||
|
|
@ -26,18 +33,16 @@
|
|||
}
|
||||
|
||||
.component-showcase-preview {
|
||||
flex: 1;
|
||||
background: var(--background-secondary);
|
||||
border-radius: var(--radius-m);
|
||||
padding: var(--size-4-4);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
flex: 1;
|
||||
background: var(--background-secondary);
|
||||
border-radius: var(--radius-m);
|
||||
padding: var(--size-4-4);
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.component-showcase-description {
|
||||
|
|
|
|||
13
styles.css
13
styles.css
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue