forked from Shinonome/dots-hyprland
Fix font-size consistency
This commit is contained in:
@@ -152,10 +152,10 @@ export default () => {
|
||||
maxWidthChars: 1, // Doesn't matter what number
|
||||
truncate: 'end',
|
||||
className: `margin-top-5 ${xwayland ? 'txt txt-italic' : 'txt'}`,
|
||||
css: `
|
||||
css: overviewMonitor.bind().as(monitor => `
|
||||
font-size: ${Math.min(monitors[monitor].width, monitors[monitor].height) * userOptions.overview.scale / 14.6}px;
|
||||
margin: 0px ${Math.min(monitors[monitor].width, monitors[monitor].height) * userOptions.overview.scale / 10}px;
|
||||
`,
|
||||
`),
|
||||
// If the title is too short, include the class
|
||||
label: (title.length <= 1 ? `${c}: ${title}` : title),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user