🎨 Making the ChatGPT experience better
This commit is contained in:
14
src-tauri/src/inject/style.js
vendored
14
src-tauri/src/inject/style.js
vendored
@@ -256,13 +256,6 @@ window.addEventListener('DOMContentLoaded', _event => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width:1024px){
|
|
||||||
#__next .text-base.lg\\:max-w-xl, #__next form.stretch.lg\\:max-w-2xl,
|
|
||||||
#__next > .w-full.h-full .lg\\:max-w-\\[38rem\\] {
|
|
||||||
max-width: 44rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width:1280px){
|
@media (min-width:1280px){
|
||||||
#__next .text-base.xl\\:max-w-3xl, #__next form.stretch.xl\\:max-w-3xl {
|
#__next .text-base.xl\\:max-w-3xl, #__next form.stretch.xl\\:max-w-3xl {
|
||||||
max-width: 48rem;
|
max-width: 48rem;
|
||||||
@@ -314,6 +307,11 @@ window.addEventListener('DOMContentLoaded', _event => {
|
|||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#__next > div.relative.z-0.flex.h-full.w-full.overflow-hidden > div.relative.flex.h-full.max-w-full.flex-1.flex-col.overflow-hidden > main > div.flex.h-full.flex-col > div.flex-1.overflow-hidden > div > div.absolute.left-0.right-0 > div > div.flex.items-center.gap-2 > button{
|
||||||
|
margin-left: 60px;
|
||||||
|
margin-right: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
#__next>div>div>.flex.h-screen.w-full.flex-col.items-center {
|
#__next>div>div>.flex.h-screen.w-full.flex-col.items-center {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
}
|
}
|
||||||
@@ -387,7 +385,7 @@ window.addEventListener('DOMContentLoaded', _event => {
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
const isMac = navigator.platform.toUpperCase().indexOf('MAC') >= 0;
|
const isMac = navigator.platform.toUpperCase().indexOf('MAC') >= 0;
|
||||||
if(window.pakeWindowTitleTransparent && isMac){
|
if (window.pakeWindowTitleTransparent && isMac) {
|
||||||
const topPaddingStyleElement = document.createElement('style');
|
const topPaddingStyleElement = document.createElement('style');
|
||||||
topPaddingStyleElement.innerHTML = topPaddingCSS;
|
topPaddingStyleElement.innerHTML = topPaddingCSS;
|
||||||
document.head.appendChild(topPaddingStyleElement);
|
document.head.appendChild(topPaddingStyleElement);
|
||||||
|
|||||||
Reference in New Issue
Block a user