mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Add a .product-name class
This commit is contained in:
@@ -6,9 +6,11 @@
|
||||
*/
|
||||
|
||||
import { showLogin } from "../navigation";
|
||||
import { id } from "../utils/utils";
|
||||
import { PRODUCT_NAME } from "./config";
|
||||
|
||||
showLogin();
|
||||
id("productname").textContent = PRODUCT_NAME;
|
||||
|
||||
document.querySelectorAll(".product-name").forEach(el => {
|
||||
el.textContent = PRODUCT_NAME;
|
||||
});
|
||||
document.title = PRODUCT_NAME;
|
||||
@@ -64,7 +64,7 @@
|
||||
padding: 16px;
|
||||
overflow: hidden;
|
||||
|
||||
#productname {
|
||||
.product-name {
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user