Skip to content

Commit

Permalink
fix(css): follow-up query box styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pnd280 committed Nov 23, 2024
1 parent dc01160 commit 12329c1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 46 deletions.
8 changes: 8 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ Consider giving a star ⭐ on [Github](https://github.com/pnd280/complexity).

**EXPERIMENTAL** features are subjected to change/removal without prior notice.

---

## v0.0.5.16

_Release date: 23rd Nov, 2024_

- **FIX**: Fixed messed up follow-up query box styling.

## v0.0.5.12

_Release date: 19th Nov, 2024_
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "complexity",
"displayName": "Complexity - Perplexity AI Supercharged",
"version": "0.0.5.15",
"version": "0.0.5.16",
"author": "pnd280",
"description": "⚡ Supercharge your Perplexity AI",
"type": "module",
Expand Down
69 changes: 24 additions & 45 deletions src/assets/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,69 +241,48 @@ html {

/* Adjust query box position */
.grow.block {
border : 1px solid var(--border-darker) !important;
border: 1px solid var(--border-darker) !important;
border-radius: calc(var(--radius) - 2px) !important;
background : var(--secondary);
box-shadow : 0 0 10px 0 rgba(0, 0, 0, 0.2) !important;
background: var(--secondary);
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2) !important;
}

.grow.block>div>div {
border-radius : calc(var(--radius) - 2px) !important;
display : grid;
grid-template-rows : 1fr auto;
grid-template-columns: repeat(3, minmax(0, 1fr));
.grow.block > div {
border-radius: 0.375rem;
}

.grow.block>div>div>div:first-child {
.grow.block > div > div {
border-radius: 0.375rem;
}

.grow.block > div > div > div {
display: grid !important;
grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
grid-template-rows: 1fr auto !important;
}

.grow.block > div > div > div > div:nth-child(1) {
order: 0;
grid-column: span 3 / span 3;
grid-column-start: 1;
grid-column-end : 4;
padding-bottom : 0.5rem;
order : unset;
border-radius : unset;
}

.grow.block>div>div>div:nth-child(2) {
.grow.block > div > div > div > div:nth-child(2) {
grid-column: span 2 / span 2;
grid-column-start: 1;
grid-column-end : 3;
grid-row-start : 2;
order : unset;
align-items: center;
order: 1;
}

.grow.block>div>div>div:last-child {
grid-column-start: 3;
grid-row-start : 2;
order : unset;
.grow.block > div > div > div > div:nth-child(3) {
grid-column: span 1 / span 1;
}

.pointer-events-none.fixed.bottom-mobileNavHeight>.pointer-events-auto.md\:col-span-8:has(textarea) {
grid-column: span 12 / span 12 !important;
z-index : 20 !important;
}

/* .pointer-events-none.fixed.bottom-mobileNavHeight {
margin-top: 5rem;
transition : all;
transition-duration: 0.3s;
position: sticky !important;
bottom : 4rem !important;
} */

/* Normal thread */
.mx-auto.h-full.w-full.max-w-threadWidth {
padding-bottom: 0 !important;
}

.mx-auto.h-full.w-full.max-w-threadWidth.px-md>div>div:first-child>div:first-child {
min-height: 100vh;
}

/* Branched thread */
.mx-auto.h-full.w-full.max-w-threadWidth.px-md>div>div>div:nth-child(2):not([class]) {
min-height: 100vh;
}


@media (min-width: 768px) {
.pointer-events-none.fixed.bottom-mobileNavHeight {
Expand Down

0 comments on commit 12329c1

Please sign in to comment.