Skip to content

Commit

Permalink
website: example styling tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwalley committed Dec 27, 2023
1 parent 21f8365 commit d5006ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions website/src/components/editor-group-container.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
.iconLabel {
display: flex;
line-height: 35px;
padding-left: 10px;
}

.iconLabel::before {
Expand Down
4 changes: 4 additions & 0 deletions website/src/components/pane.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
box-sizing: border-box;
}

.twistyContainer {
margin: 0 2px;
}

h3.title {
white-space: nowrap;
text-overflow: ellipsis;
Expand Down
3 changes: 2 additions & 1 deletion website/src/components/pane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ export const Pane = ({ children, expanded, title }: PaneProps) => {
<div className={styles.paneHeader}>
<div
className={classNames(
styles.twistyContainer,
"codicon",
expanded ? "codicon-chevron-down" : "codicon-chevron-up"
expanded ? "codicon-chevron-down" : "codicon-chevron-up",
)}
></div>
<h3 className={styles.title}>{title}</h3>
Expand Down

0 comments on commit d5006ae

Please sign in to comment.