改进dock

This commit is contained in:
昱墨 2022-09-28 12:47:26 +08:00
parent a7ca90f20e
commit 0cbf4d1157
4 changed files with 10 additions and 8 deletions

View File

@ -1249,7 +1249,7 @@ body {
}
#dock .dock-container {
width: 100%;
width: 100% !important;
border-radius: 0;
padding: 0;
}

2
css/index.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
* Created by Yuri2 on 2017/7/10.
*/
window.Macui = {
_version: 'v1.1.2.5',
_version: 'v1.1.2.6',
_debug: true,
_bgs: {
main: '',
@ -989,7 +989,7 @@ window.Macui = {
docks.eq(i).show();
}
}
if (width > 768) {
if (!this.isSmallScreen()){
$('#dock').Fisheye({
maxWidth: 70,
items: 'a',
@ -1001,9 +1001,11 @@ window.Macui = {
valign: 'bottom',
halign: 'center'
})
} else {
$("#dock .dock-container").off('mousemove').off('mouseover').off('mouseout')
docks.off('mousemove').off('mouseover').off('mouseout')
}else {
$("#dock .dock-container").css("width",width)
docks.on('mouseover mousemove mouseout', function (e) {
e.stopPropagation()
}).css("width",cell_width).off('mouseover mousemove mouseout')
}
},
commandCenterToggle: function () {

2
js/index.min.js vendored

File diff suppressed because one or more lines are too long