Added the button to the html file and made it more like the other buttons

This commit is contained in:
harshil05133 2025-02-17 19:47:25 -05:00
parent 60e19bc281
commit 96234dff7b
5 changed files with 12 additions and 6 deletions

View file

@ -54,7 +54,7 @@
"pad.toolbar.settings.title": "Settings",
"pad.toolbar.embed.title": "Share and Embed this pad",
"pad.toolbar.showusers.title": "Show the users on this pad",
"pad.toolbar.gohome.title": "Go back to home page",
"pad.toolbar.gohome.title": "Go Home",
"pad.colorpicker.save": "Save",

View file

@ -244,7 +244,7 @@ module.exports = {
gohome:{
command: 'gohome',
localizationId: 'pad.toolbar.gohome.title',
class: 'homeicon homeicon-exit',
class: 'buttonicon buttonicon-gohome',
},
timeslider_export: {

View file

@ -1,9 +1,10 @@
.homeicon-exit:before {
/*.homeicon-exit:before {
content: "\2302";
margin-right: 5px;
margin-right: 3px;
}
.homeicon:hover{
background-color: grey;
}
*/

View file

@ -74,8 +74,8 @@
.buttonicon-showusers:before {
content: "\e835";
}
.buttonicon-showusers:before {
content: "\e835";
.buttonicon-gohome:before {
content: "\e80b"; /* Assuming \e80b is the Unicode for the home icon */
}
.buttonicon-savedRevision:before {
content: "\e856";