mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update allcatalog
This commit is contained in:
@@ -173,6 +173,36 @@ export const ReplyFormLink = styled.div`
|
|||||||
|
|
||||||
export const TopBar = styled.div`
|
export const TopBar = styled.div`
|
||||||
@media (min-width: 480px) {
|
@media (min-width: 480px) {
|
||||||
|
.stats-all-catalog-container {
|
||||||
|
float: right;
|
||||||
|
margin-top: 3px;
|
||||||
|
margin-right: 30px;
|
||||||
|
overflow: hidden;
|
||||||
|
max-width: calc(100vw - 50vw);
|
||||||
|
}
|
||||||
|
|
||||||
|
#stats-all {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: calc(100vw - 50vw);
|
||||||
|
word-wrap: break-word;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: "";
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ellipsis-all {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ellipsis-all:after {
|
||||||
|
content: "\\2026";
|
||||||
|
position: absolute;
|
||||||
|
-webkit-animation: ellipsis steps(4,end) 1200ms infinite;
|
||||||
|
animation: ellipsis steps(4,end) 1500ms infinite;
|
||||||
|
width: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
#return-button-mobile {
|
#return-button-mobile {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -193,6 +223,37 @@ export const TopBar = styled.div`
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
|
.stats-all-catalog-container {
|
||||||
|
height: 25px;
|
||||||
|
position: absolute;
|
||||||
|
text-align: left;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 100vw;
|
||||||
|
margin-top: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#stats-all {
|
||||||
|
display: inline-block;
|
||||||
|
max-width: 90vw;
|
||||||
|
word-wrap: break-word;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-overflow: "";
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ellipsis-all {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ellipsis-all:after {
|
||||||
|
content: "\\2026";
|
||||||
|
position: absolute;
|
||||||
|
-webkit-animation: ellipsis steps(4,end) 1200ms infinite;
|
||||||
|
animation: ellipsis steps(4,end) 1500ms infinite;
|
||||||
|
width: 0px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
|
|
||||||
#return-button-desktop, #catalog-button-desktop, #bottom-button-desktop {
|
#return-button-desktop, #catalog-button-desktop, #bottom-button-desktop {
|
||||||
|
|||||||
@@ -864,7 +864,7 @@ const AllCatalog = () => {
|
|||||||
<option value="Yotsuba-B">Yotsuba B</option>
|
<option value="Yotsuba-B">Yotsuba B</option>
|
||||||
<option value="Futaba">Futaba</option>
|
<option value="Futaba">Futaba</option>
|
||||||
<option value="Burichan">Burichan</option>
|
<option value="Burichan">Burichan</option>
|
||||||
<option value="Tomorrow">Tomorrow</option>
|
<option value="Tomùorrow">Tomorrow</option>
|
||||||
<option value="Photon">Photon</option>
|
<option value="Photon">Photon</option>
|
||||||
</select>
|
</select>
|
||||||
</span>
|
</span>
|
||||||
@@ -881,9 +881,12 @@ const AllCatalog = () => {
|
|||||||
{subplebbits.state === "succeeded" ? (
|
{subplebbits.state === "succeeded" ? (
|
||||||
null
|
null
|
||||||
) : (
|
) : (
|
||||||
<div id="stats" style={{float: "right", marginTop: "5px"}}>
|
<div className="stats-all-catalog-container">
|
||||||
<span className={stateString ? "ellipsis" : ""}>{stateString}</span>
|
<span id="stats-all">
|
||||||
</div>
|
{stateString}
|
||||||
|
</span>
|
||||||
|
<span className={stateString ? "ellipsis-all" : ""} />
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
<hr />
|
<hr />
|
||||||
</TopBar>
|
</TopBar>
|
||||||
|
|||||||
Reference in New Issue
Block a user