diff options
author | H Lohaus <hlohaus@users.noreply.github.com> | 2024-01-13 15:52:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 15:52:52 +0100 |
commit | d632190f1d9ff04759a427d1938c0813e918e5e8 (patch) | |
tree | 44e3827128489f13fd6fbe7d18171d81176abc86 /g4f/gui/client/css/style.css | |
parent | Cleanup unused dependencies (diff) | |
parent | Merge pull request #1462 from hlohaus/img (diff) | |
download | gpt4free-d632190f1d9ff04759a427d1938c0813e918e5e8.tar gpt4free-d632190f1d9ff04759a427d1938c0813e918e5e8.tar.gz gpt4free-d632190f1d9ff04759a427d1938c0813e918e5e8.tar.bz2 gpt4free-d632190f1d9ff04759a427d1938c0813e918e5e8.tar.lz gpt4free-d632190f1d9ff04759a427d1938c0813e918e5e8.tar.xz gpt4free-d632190f1d9ff04759a427d1938c0813e918e5e8.tar.zst gpt4free-d632190f1d9ff04759a427d1938c0813e918e5e8.zip |
Diffstat (limited to '')
-rw-r--r-- | g4f/gui/client/css/style.css | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/g4f/gui/client/css/style.css b/g4f/gui/client/css/style.css index 3e2d6d6f..59464272 100644 --- a/g4f/gui/client/css/style.css +++ b/g4f/gui/client/css/style.css @@ -217,7 +217,6 @@ body { } .message { - width: 100%; overflow-wrap: break-word; display: flex; @@ -302,10 +301,14 @@ body { line-height: 1.3; color: var(--colour-3); } -.message .content pre { +.message .content pre{ white-space: pre-wrap; } +.message .content img{ + max-width: 400px; +} + .message .user i { position: absolute; bottom: -6px; @@ -401,13 +404,28 @@ body { display: none; } -input[type="checkbox"] { +#image { + display: none; +} + +label[for="image"]:has(> input:valid){ + color: var(--accent); +} + +label[for="image"] { + cursor: pointer; + position: absolute; + top: 10px; + left: 10px; +} + +.buttons input[type="checkbox"] { height: 0; width: 0; display: none; } -label { +.buttons label { cursor: pointer; text-indent: -9999px; width: 50px; @@ -424,7 +442,7 @@ label { transition: 0.33s; } -label:after { +.buttons label:after { content: ""; position: absolute; top: 50%; @@ -437,11 +455,11 @@ label:after { transition: 0.33s; } -input:checked+label { - background: var(--blur-border); +.buttons input:checked+label { + background: var(--accent); } -input:checked+label:after { +.buttons input:checked+label:after { left: calc(100% - 5px - 20px); } |