mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(disclaimer-modal): correct CSS positioning and remove invalid HTML
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
}
|
||||
|
||||
.hd {
|
||||
position: relative;
|
||||
background-color: rgb(136, 0, 0);
|
||||
color: rgb(255, 255, 255);
|
||||
padding: 4px 6px;
|
||||
@@ -45,11 +46,9 @@
|
||||
cursor: pointer;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-top: 4px;
|
||||
margin-right: 4px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
background-image: var(--disclaimer-modal-close-button-background-image);
|
||||
background-size: 100%;
|
||||
background-position: center;
|
||||
@@ -63,6 +62,11 @@
|
||||
.bd li {
|
||||
list-style-type: decimal;
|
||||
list-style-position: inside;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.bd li:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.bd a {
|
||||
|
||||
@@ -34,14 +34,12 @@ const DisclaimerModal = () => {
|
||||
The content on boards may be for mature audiences only and may not be suitable for minors. Boards are created and moderated by individual owners who run
|
||||
their own nodes. If you are a minor or it is illegal for you to access mature content, do not proceed.
|
||||
</li>
|
||||
<br />
|
||||
<li>
|
||||
This website is presented to you AS IS, with no warranty, express or implied. By clicking "I Agree," you agree that 5chan is a decentralized,
|
||||
serverless, and adminless platform. 5chan is open-source software (GPLv2 license) with no owner—anyone can host their own instance on any domain. The
|
||||
operator of this domain is merely hosting the web app and does not own, create, moderate, or control 5chan or any board content, which is stored
|
||||
peer-to-peer and generated by board owners and users.
|
||||
</li>
|
||||
<br />
|
||||
<li>
|
||||
Each board has its own rules set by its owner. You agree to comply with the individual board's rules, which you can find on each board's page.
|
||||
There are no global rules as 5chan has no central authority.
|
||||
|
||||
Reference in New Issue
Block a user