A set of configurable presets for expanding the width of Gemini's main chat view, plus some extra toggles for hiding certain elements & other UI enhancements.
StretchGemini: Resizable Gemini Chat View UI by m1kethai
Details
Authorm1kethai
LicenseNo License
Categorygemini.google.com
Created
Updated
Code size2.2 kB
Code checksum271d7e51
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name StretchGemini - Resizable chat UI width for Gemini
@author m1kethai
@description A set of configurable presets for expanding the width of Gemini's main chat view, plus some extra toggles for hiding certain elements & other UI enhancements.
@version 1.1.1
@namespace https://userstyles.world/style/21358/stretchgemini-resizable-chat-ui-width-for-gemini
@preprocessor less
@var select stretchFactor "π§ Chat view width preset" {
"β None": "0",
"π€ Some breathing room": "1",
"π Pretty relaxed": "2",
"β¨ Spacious*": "3",
"π Unbounded": "4"
}
@var checkbox enableBonusFeatures "π Enable bonus UI enhancements below π" 0
@var checkbox hideDisclaimer "β οΈ Hide disclaimer" 1
@var checkbox hideAvatar "π Hide Gemini chat avatar" 1
==/UserStyle== */
@-moz-document domain("gemini.google.com") {
html {
/* ===== EXPAND CHAT UI ===== */
.expandChatUI() when (@stretchFactor >=1) {
@defaultMw: 760px;
@widthMultiplier:
if((@stretchFactor =1), 1.33,
if((@stretchFactor =2), 1.66,
if((@stretchFactor =3), 2.0, null
)));
@adjustedMw: if(
(isnumber(@widthMultiplier)),
(@defaultMw*@widthMultiplier),
unset
);
&, &>user-query {
max-width: @adjustedMw;
}
}
div.conversation-container {
.expandChatUI() !important;
}
& when (@enableBonusFeatures =1) {
/* ===== HIDE DISCLAIMER ===== */
div.input-area-container when(@hideDisclaimer =1) {
~ hallucination-disclaimer {
display: none !important;
}
padding-bottom: 0.5rem;
}
/* ===== HIDE GEMINI AVATARS ===== */
div.avatar-gutter when(@hideAvatar =1) {
display: none !important;
}
}
}
}