Limit window title width (fix #99)
This commit is contained in:
@@ -198,6 +198,7 @@ a:not(.disabled):hover, i:not(.disabled):hover {
|
||||
opacity: 0.6;
|
||||
position: absolute;
|
||||
margin-top: 1px;
|
||||
padding: 0 150px 0 150px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
pointer-events: none;
|
||||
|
||||
@@ -30,7 +30,7 @@ function Header (state, dispatch) {
|
||||
|
||||
function getTitle () {
|
||||
if (process.platform === 'darwin') {
|
||||
return hx`<div class='title'>${state.window.title}</div>`
|
||||
return hx`<div class='title ellipsis'>${state.window.title}</div>`
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user