简化时间组件结构

master
yutent 2023-11-17 13:23:30 +08:00
parent 04e1c9650c
commit 4939847a4d
1 changed files with 1 additions and 3 deletions

View File

@ -79,8 +79,6 @@ class Time extends Component {
display: inline-flex; display: inline-flex;
font-size: 12px; font-size: 12px;
color: var(--color-dark-1); color: var(--color-dark-1);
}
time {
-webkit-user-select: none; -webkit-user-select: none;
user-select: none; user-select: none;
cursor: default; cursor: default;
@ -89,7 +87,7 @@ class Time extends Component {
] ]
render() { render() {
return html`<time>${this.#value}</time>` return this.#value
} }
} }