adjust stats styling, remove reload on language change

This commit is contained in:
plebeius.eth
2024-03-20 17:22:22 +01:00
parent d3b9a1fea3
commit 78b37e1294
4 changed files with 6 additions and 14 deletions
-1
View File
@@ -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;
}
+1 -1
View File
@@ -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>
-1
View File
@@ -27,7 +27,6 @@ const LanguageSettings = () => {
const onSelectLanguage = (e: React.ChangeEvent<HTMLSelectElement>) => {
changeLanguage(e.target.value);
window.location.reload();
};
return (