From 4f298019256f096ba4aba1f3e1ca534ad9103615 Mon Sep 17 00:00:00 2001 From: your_username Date: Sun, 8 Aug 2021 17:16:06 +0100 Subject: [PATCH] Fix footer image, autoscroll GUI tabs into view, and update README.md --- README.md | 4 +++- assets/css/index.css | 29 ++++++++++++++----------- assets/js/script.js | 51 ++++++++++++++++++++++++-------------------- 3 files changed, 48 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 2b0a66d..924a1a7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ Visualize embed or message content from JSON input or provided GUI editor. -This can be used for bot embed commands. Not everyone understands JSON, thus GUI. +This can be used for discord bot embed commands. It can also be intergreted into your Discord bot's website. + +Aside the JSON editor, it also includes a GUI editor which converts to JSON for simplicity. You can look into the [project boards](https://github.com/Glitchii/embedbuilder/projects/3) if you want to see what is being worked on or want to contribute.

diff --git a/assets/css/index.css b/assets/css/index.css index 926ec4d..96a9239 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -848,6 +848,7 @@ body.gui .top>.CodeMirror { scrollbar-width: thin; scrollbar-width: 7px; margin-top: 15px; + padding-bottom: 20px; } .top>.gui>* { @@ -884,8 +885,7 @@ body:not(.gui) .top>.gui, body:not(.gui) .bottom, body:not(.gui) .pickerToggle { border-radius: 4px; } -/* -body.gui .chooser>.gui { +/* body.gui .chooser>.gui { background: #41444a; } @@ -1276,7 +1276,7 @@ textarea { } .linkName, .linkName .txtCol, .linkName .txtCol>input[type="text"] { - width: 100%; + width: 93%; text-overflow: ellipsis; } @@ -1513,6 +1513,7 @@ body { transform: translateY(40px); } 50% { + opacity: 0; transform: translateY(40px); } } @@ -1524,7 +1525,8 @@ body { border-radius: 5px; animation: hexAn .4s ease-in-out; box-shadow: 0px -2px 10px 0px #0000001f; - right: 0; + right: 0px; + /* right: 50px; */ width: 50%; } @@ -1748,6 +1750,9 @@ body.emptyEmbed.emptyContent .emptyTxt { .pickerToggle>svg { width: 17px; } + .main .side1 { + border-right: none; + } .side1 .item.top { padding-top: 10px; transform: translateY(10px); @@ -1755,13 +1760,6 @@ body.emptyEmbed.emptyContent .emptyTxt { } @media screen and (max-width: 530px) { - .msgEmbed { - margin: 20px 0px; - padding: 0.125rem 0 20px 65px; - } - .avatar { - left: 10px; - } .main .side1 { padding: 10px; } @@ -1771,4 +1769,11 @@ body.emptyEmbed.emptyContent .emptyTxt { .emptyTxt { display: none!important; } -} + .msgEmbed { + margin: 20px 0px; + padding: 0.125rem 0 20px 65px; + } + .avatar { + left: 10px; + } +} \ No newline at end of file diff --git a/assets/js/script.js b/assets/js/script.js index 71900a8..2758928 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -186,12 +186,11 @@ window.onload = () => {
- +
-