mirror of
https://github.com/Blah-IM/Weblah.git
synced 2025-05-01 08:41:08 +00:00
fix: header alignment
This commit is contained in:
parent
aebe100799
commit
e1709b6ae8
2 changed files with 12 additions and 10 deletions
|
@ -10,15 +10,15 @@
|
||||||
|
|
||||||
let messages: Message[] = Array.from({ length: 10 }).map(createRandomMessage);
|
let messages: Message[] = Array.from({ length: 10 }).map(createRandomMessage);
|
||||||
|
|
||||||
// onMount(() => {
|
onMount(() => {
|
||||||
// const interval = setInterval(
|
const interval = setInterval(
|
||||||
// () => {
|
() => {
|
||||||
// messages = [...messages, createRandomMessage()];
|
messages = [...messages, createRandomMessage()];
|
||||||
// },
|
},
|
||||||
// 3000 + Math.random() * 10000
|
3000 + Math.random() * 10000
|
||||||
// );
|
);
|
||||||
// return () => clearInterval(interval);
|
return () => clearInterval(interval);
|
||||||
// });
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex h-full w-full flex-col justify-stretch">
|
<div class="flex h-full w-full flex-col justify-stretch">
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
export let outsideUnreadCount = 0;
|
export let outsideUnreadCount = 0;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex w-full gap-2 border-b border-ss-secondary bg-sb-primary p-2 shadow-sm">
|
<div
|
||||||
|
class="box-border flex min-h-[calc(3rem+1px)] w-full gap-2 border-b border-ss-secondary bg-sb-primary p-2 shadow-sm"
|
||||||
|
>
|
||||||
<Button href="/" class="rounded-full sm:hidden">
|
<Button href="/" class="rounded-full sm:hidden">
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|
Loading…
Add table
Reference in a new issue