nowrap
This commit is contained in:
parent
0e36ac84d8
commit
40ba143a63
3 changed files with 4 additions and 12 deletions
|
@ -6,7 +6,7 @@
|
||||||
// During web development, you may change values here for rapid testing.
|
// During web development, you may change values here for rapid testing.
|
||||||
|
|
||||||
var config = {
|
var config = {
|
||||||
base_url: "http://localhost:2586", // window.location.origin FIXME update before merging
|
base_url: "https://127-0-0-1.my.local-ip.co", // window.location.origin FIXME update before merging
|
||||||
app_root: "/app",
|
app_root: "/app",
|
||||||
enable_login: true,
|
enable_login: true,
|
||||||
enable_signup: true,
|
enable_signup: true,
|
||||||
|
|
|
@ -529,10 +529,10 @@ const TokensTable = (props) => {
|
||||||
{token.token === session.token() && <em>{t("account_tokens_table_current_session")}</em>}
|
{token.token === session.token() && <em>{t("account_tokens_table_current_session")}</em>}
|
||||||
{token.token !== session.token() && (token.label || "-")}
|
{token.token !== session.token() && (token.label || "-")}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell aria-label={t("account_tokens_table_expires_header")}>
|
<TableCell sx={{ whiteSpace: "nowrap" }} aria-label={t("account_tokens_table_expires_header")}>
|
||||||
{token.expires ? formatShortDateTime(token.expires) : <em>{t("account_tokens_table_never_expires")}</em>}
|
{token.expires ? formatShortDateTime(token.expires) : <em>{t("account_tokens_table_never_expires")}</em>}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
<TableCell aria-label={t("account_tokens_table_last_access_header")}>
|
<TableCell sx={{ whiteSpace: "nowrap" }} aria-label={t("account_tokens_table_last_access_header")}>
|
||||||
<div style={{ display: "flex", alignItems: "center" }}>
|
<div style={{ display: "flex", alignItems: "center" }}>
|
||||||
<span>{formatShortDateTime(token.last_access)}</span>
|
<span>{formatShortDateTime(token.last_access)}</span>
|
||||||
<Tooltip title={t("account_tokens_table_last_origin_tooltip", { ip: token.last_origin })}>
|
<Tooltip title={t("account_tokens_table_last_origin_tooltip", { ip: token.last_origin })}>
|
||||||
|
|
|
@ -17,15 +17,7 @@ import IconButton from "@mui/material/IconButton";
|
||||||
import InsertEmoticonIcon from '@mui/icons-material/InsertEmoticon';
|
import InsertEmoticonIcon from '@mui/icons-material/InsertEmoticon';
|
||||||
import {Close} from "@mui/icons-material";
|
import {Close} from "@mui/icons-material";
|
||||||
import MenuItem from "@mui/material/MenuItem";
|
import MenuItem from "@mui/material/MenuItem";
|
||||||
import {
|
import {formatBytes, maybeWithAuth, topicShortUrl, topicUrl, validTopic, validUrl} from "../app/utils";
|
||||||
formatBytes,
|
|
||||||
maybeWithAuth,
|
|
||||||
withBasicAuth,
|
|
||||||
topicShortUrl,
|
|
||||||
topicUrl,
|
|
||||||
validTopic,
|
|
||||||
validUrl
|
|
||||||
} from "../app/utils";
|
|
||||||
import Box from "@mui/material/Box";
|
import Box from "@mui/material/Box";
|
||||||
import AttachmentIcon from "./AttachmentIcon";
|
import AttachmentIcon from "./AttachmentIcon";
|
||||||
import DialogFooter from "./DialogFooter";
|
import DialogFooter from "./DialogFooter";
|
||||||
|
|
Loading…
Reference in a new issue