fix: ELECTRON-1371 (Fix Custom title bar title margin issue) (#715)

* ELECTRON-1371 - Fix title bar title margin issue

* ELECTRON-1371 - Fix spec for Windows title bar
This commit is contained in:
Kiran Niranjan 2019-07-11 15:46:12 +05:30 committed by Vishwas Shashidhar
parent d9c52ae745
commit 15bd87613c
4 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ Typically you'll want to set content: url("") and adjust the width property
overflow: hidden;
}
.title-bar-title {
#title-bar-title {
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
color: white;
margin: 0;

View File

@ -232,7 +232,7 @@ exports[`windows title bar should render correctly 1`] = `
/>
</svg>
<p
className="title-bar-title"
id="title-bar-title"
>
Symphony
</p>

View File

@ -90,7 +90,7 @@ export default class WindowsTitleBar extends React.Component<{}, IState> {
</div>
<div className='title-container'>
{this.getSymphonyLogo()}
<p className='title-bar-title'>{document.title || 'Symphony'}</p>
<p id='title-bar-title'>{document.title || 'Symphony'}</p>
</div>
<div className='title-bar-button-container'>
<button

View File

@ -50,7 +50,7 @@
overflow: hidden;
}
.title-bar-title {
#title-bar-title {
font-family: @font-family;
color: @color_2;
margin: 0;