Skip to content

Commit

Permalink
Style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Oct 23, 2024
1 parent 0cb7d24 commit 61ae29c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion assets/media/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
}

.article__tags__dropbox.open {
border: 1px solid rgba(0, 0, 0, 0.9);
border: 1px solid var(--vscode-focusBorder);
width: 100%;
}

.article__tags ul {
Expand Down
2 changes: 1 addition & 1 deletion src/panelWebView/hooks/useDropdownStyle.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCallback } from 'react';

export default function useDropdownStyle(inputRef: React.MutableRefObject<HTMLInputElement | null>, inputHeight?: string) {
const bottomStyle = `calc(100% - ${inputHeight || '38px'})`;
const bottomStyle = `calc(100% - ${inputHeight || '5px'})`;
const listItemHeight = 28;

const getDropdownStyle = useCallback((isOpen) => {
Expand Down
4 changes: 4 additions & 0 deletions src/panelWebView/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,8 @@ vscode-divider {
bottom: 0;
width: auto;

border-radius: 0 0.25rem 0.25rem 0;

&:disabled {
background: none;
filter: brightness(100%);
Expand Down Expand Up @@ -947,6 +949,8 @@ vscode-divider {
display: flex;
align-items: center;

border-radius: 0 0.25rem 0.25rem 0;

span {
margin-right: 0.5rem;
font-size: 0.8rem;
Expand Down

0 comments on commit 61ae29c

Please sign in to comment.