mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
fix button functionality #1843
This commit is contained in:
parent
6766378b5e
commit
aeff4b7f1d
@ -135,7 +135,7 @@ define(req, function(AppConfig, Default, Language) {
|
||||
};
|
||||
|
||||
|
||||
|
||||
Messages.help_close_button = 'Close help notification'; // XXX
|
||||
return Messages;
|
||||
|
||||
});
|
||||
|
||||
@ -22,11 +22,17 @@
|
||||
}
|
||||
|
||||
.cp-help-close {
|
||||
background: none;
|
||||
border: none;
|
||||
position: absolute;
|
||||
color: @cryptpad_text_col;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
cursor: pointer;
|
||||
&:focus-visible {
|
||||
outline: @variables_focus_style;
|
||||
border-radius: @variables_radius;
|
||||
}
|
||||
}
|
||||
.cp-help-text {
|
||||
color: @cp_help-fg;
|
||||
|
||||
@ -1279,7 +1279,9 @@ define([
|
||||
|
||||
common.fixLinks(text);
|
||||
|
||||
var closeButton = h('span.cp-help-close.fa.fa-times');
|
||||
var closeButton = h('button.cp-help-close.fa.fa-times', {
|
||||
title: 'Close help notification'
|
||||
});
|
||||
var $toolbarButton = common.createButton('', true, {
|
||||
text: Messages.help_button,
|
||||
name: 'help'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user