Always show remaining time in top bar

This commit is contained in:
jude 2024-03-31 12:53:52 +01:00
parent b0f932445c
commit 884a47bf36
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ export const Guild = ({ toggleCollapsed }) => {
<div class="columns is-mobile column reminder-topbar"> <div class="columns is-mobile column reminder-topbar">
{isSuccess && <div class="invert-collapses channel-bar">#{channelName(reminder)}</div>} {isSuccess && <div class="invert-collapses channel-bar">#{channelName(reminder)}</div>}
<Name /> <Name />
<div class="invert-collapses time-bar">in {string}</div> <div class="time-bar">in {string}</div>
<div class="hide-button-bar"> <div class="hide-button-bar">
<button class="button hide-box" onClick={toggleCollapsed}> <button class="button hide-box" onClick={toggleCollapsed}>
<span class="is-sr-only">Hide reminder</span> <span class="is-sr-only">Hide reminder</span>

View File

@ -39,7 +39,7 @@ export const User = ({ toggleCollapsed }) => {
return ( return (
<div class="columns is-mobile column reminder-topbar"> <div class="columns is-mobile column reminder-topbar">
<Name /> <Name />
<div class="invert-collapses time-bar">in {string}</div> <div class="time-bar">in {string}</div>
<div class="hide-button-bar"> <div class="hide-button-bar">
<button class="button hide-box" onClick={toggleCollapsed}> <button class="button hide-box" onClick={toggleCollapsed}>
<span class="is-sr-only">Hide reminder</span> <span class="is-sr-only">Hide reminder</span>