This commit is contained in:
Daria 2026-09-09 14:32:33 +03:00 committed by GitHub
commit 4f5b1e499d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -738,7 +738,8 @@
.cp-toolbar-title-value {
overflow: hidden;
text-overflow: ellipsis;
border-collapse: collapse;
margin: 0;
line-height: 1.5;
&:focus {
margin: 2px;
border-radius: @variables_radius;

View File

@ -845,16 +845,16 @@ MessengerUI, Messages, Pages, PadTypes, Icons) {
var createPageTitle = function (toolbar, config) {
if (!config.pageTitle) { return; }
var $titleContainer = $('<span>', {
var $titleContainer = $('<div>', {
'class': TITLE_CLS
}).appendTo(toolbar.$top);
toolbar.$top.find('.filler').hide();
var $hoverable = $('<span>', {'class': 'cp-toolbar-title-hoverable'}).appendTo($titleContainer);
var $hoverable = $('<div>', {'class': 'cp-toolbar-title-hoverable'}).appendTo($titleContainer);
// Buttons
var $b = $('<span>', {
var $b = $('<h1>', {
'class': 'cp-toolbar-title-value cp-toolbar-title-value-page'
}).appendTo($hoverable).text(config.pageTitle);