mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
adjust stats styling, remove reload on language change
This commit is contained in:
@@ -50,7 +50,6 @@ const BoardNavMobile = ({ subplebbits, currentSubplebbit }: BoardNavProps) => {
|
||||
<div className={styles.pageJump}>
|
||||
<Link to='settings'>Settings</Link>
|
||||
<Link to='/'>Home</Link>
|
||||
{/* <span>App</span> TODO: consider adding apk download link */}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
.content hr {
|
||||
width: 468px;
|
||||
min-width: 468px;
|
||||
margin-left: -4px;
|
||||
margin-bottom: 5px;
|
||||
/* revert to browser styling for burichan and futaba */
|
||||
border: var(--hr-border, revert);
|
||||
border-top: var(--hr-border-top, revert);
|
||||
@@ -7,21 +9,13 @@
|
||||
}
|
||||
|
||||
.blotter {
|
||||
width: 468px;
|
||||
min-width: 468px;
|
||||
margin: auto;
|
||||
line-height: 1;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
.blotter table {
|
||||
border-spacing: 0px;
|
||||
width: 100%;
|
||||
margin-top: -1px;
|
||||
padding-left: 3px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
.blotter tr {
|
||||
vertical-align: top;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@ const BoardStats = ({ address, createdAt }: BoardStatsProps) => {
|
||||
|
||||
return (
|
||||
<div className={styles.content}>
|
||||
<hr />
|
||||
<table className={styles.blotter}>
|
||||
<hr />
|
||||
{showStats && (
|
||||
<tbody id='blotter-msgs'>
|
||||
<tr>
|
||||
|
||||
@@ -27,7 +27,6 @@ const LanguageSettings = () => {
|
||||
|
||||
const onSelectLanguage = (e: React.ChangeEvent<HTMLSelectElement>) => {
|
||||
changeLanguage(e.target.value);
|
||||
window.location.reload();
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user