Skip to content

Commit 5350f00

Browse files
committed
Better help and help text div now has styling
1 parent e0d6967 commit 5350f00

File tree

2 files changed

+37
-17
lines changed

2 files changed

+37
-17
lines changed

popup-page-style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ body:has(#copyProfileContainer:not([style*="display: none"])) #versionContainer
9696
transition: box-shadow var(--transition-duration-release) ease, background-color var(--transition-duration-release) ease;
9797
}
9898

99+
.text-inside-container
100+
{
101+
margin: 0 2rem;
102+
}
103+
99104
h2 {
100105
margin: 0 0 16px 0;
101106
font-size: 16px;

popup.html

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ <h2>Profile</h2>
1919
<button id="addProfile">Add Profile</button>
2020
<button id="copyProfile">Duplicate Current Profile To A New One</button>
2121
<button id="deleteProfile" class="danger">Delete</button>
22-
<div id="versionContainer"><p id="version"> Version 0.0.0.7</p>
23-
<p id="topExplanationText"> Your changes will be saved instantly. Reload website to apply. Pressing "Shift" while pressing a key changes it's autosend behaviour!
24-
<a href="#helpSection">Go to Help Section</a>
22+
<div id="versionContainer">
23+
<p id="version"> Version 0.0.0.7</p>
24+
<p id="topExplanationText"> Your changes will be saved instantly. Reload website to apply. Pressing
25+
"Shift" while pressing a key changes it's autosend behaviour!
26+
<a href="#helpSection">Go to Help Section</a>
2527

26-
</p>
28+
</p>
2729
</div>
2830
</div>
2931
<!-- Add Profile Input and Save/Cancel Buttons -->
@@ -93,7 +95,8 @@ <h2>Backup & Restore</h2>
9395
</div>
9496
<!-- Confirmation Div -->
9597
<div id="confirmationDiv" class="confirmation" style="display: none;">
96-
<p>File loaded successfully. But profile with the same name exists in a system. Do you want to overwrite currently existing profile?</p>
98+
<p>File loaded successfully. But profile with the same name exists in a system. Do you want to overwrite
99+
currently existing profile?</p>
97100
<button id="confirmOverwrite">Yes</button>
98101
<button id="cancelOverwrite">No</button>
99102
</div>
@@ -106,26 +109,38 @@ <h2>Backup & Restore</h2>
106109
<!-- Help Section -->
107110
<section class="section" id="helpSection">
108111
<h2>Help</h2>
109-
<p>Here is some information about the ChatGPT Quick Buttons</p>
110-
<p>ABSOLUTELY DO BACKUP YOUR PROFILE! IN CASE OF UPDATE, YOU MAY LOSE YOUR BUTTONS - ANYTIME. BE SURE TO BACKUP YOUR PROFILE! I am not yet skillful enough in JS to make sure all updates will go without problems</p>
111-
<ul>
112-
<li>In case something stopped working: The websites often change their structure. My extension therefore addresses elements that are not longer present. Therefore, when I notice this, I need to make an update, and then it takes time for Google to approve it.</li>
113-
<li>In case something is not working: try to use English version of the websites. LLMs do not care about language, so you can use any language you want in chat, while keeping interface language English. I only test on English languages of webpages, because I have to work and have no spare time.</li>
114-
<li><a href="https://github.com/MaxITService/ChatGPT-Quick-Buttons-for-your-text">Github: you can provide code you want to see in app here.</a></li>
115-
<li><a href="https://buymeacoffee.com/netstaff">Donation link. If you are very rich, please send me huge amount of money, thank you!</a></li>
116-
</ul>
112+
<div class="text-inside-container">
113+
<p>Some information:</p>
114+
<p>ABSOLUTELY DO BACKUP YOUR PROFILE! IN CASE OF UPDATE, YOU MAY LOSE YOUR BUTTONS - ANYTIME. BE SURE TO
115+
BACKUP YOUR PROFILE! I am not yet skillful enough in JS to make sure all updates will go without
116+
problems</p>
117+
<ul>
118+
<li>In case of a problem: first step is to reload your browser.</li>
119+
<li>In case something stopped working completely: The websites often change their structure. My extension
120+
therefore addresses elements that are not longer present. Therefore, when I notice this, I need
121+
to make an update, and then it takes time for Google to approve it.</li>
122+
<li>In case something is not working: try to use English version of the websites. LLMs do not care
123+
about language, so you can use any language you want in chat, while keeping interface language
124+
English. I only test on English languages of webpages, because I have to work and have no spare
125+
time.</li>
126+
<li><a href="https://github.com/MaxITService/ChatGPT-Quick-Buttons-for-your-text">Github: you can
127+
provide code you want to see in app here.</a></li>
128+
<li><a href="https://buymeacoffee.com/netstaff">Donation link. If you are very rich, please send me
129+
huge amount of money, thank you!</a></li>
130+
</ul>
131+
</div>
117132
</section>
118-
</div>
133+
</div>
119134

120135
<!-- Toast Notification Container -->
121136
<div id="toastContainer" class="toast-container"></div>
122-
<script src="log.js"></script>
137+
<script src="log.js"></script>
123138
<script src="/popup-page-scripts/popup-page-visuals.js"></script>
124-
<script src="/popup-page-scripts/popup-page-profiles.js"></script>
139+
<script src="/popup-page-scripts/popup-page-profiles.js"></script>
125140
<script src="/popup-page-scripts/popup-page-backup-handler.js"></script>
126141
<script src="/popup-page-scripts/popup-page-customButtons.js"></script>
127142
<script src="/popup-page-scripts/popup-page-script.js"></script>
128143

129144
</body>
130145

131-
</html>
146+
</html>

0 commit comments

Comments
 (0)