mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
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:
parent
d9c52ae745
commit
15bd87613c
@ -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;
|
||||
|
@ -232,7 +232,7 @@ exports[`windows title bar should render correctly 1`] = `
|
||||
/>
|
||||
</svg>
|
||||
<p
|
||||
className="title-bar-title"
|
||||
id="title-bar-title"
|
||||
>
|
||||
Symphony
|
||||
</p>
|
||||
|
@ -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
|
||||
|
@ -50,7 +50,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.title-bar-title {
|
||||
#title-bar-title {
|
||||
font-family: @font-family;
|
||||
color: @color_2;
|
||||
margin: 0;
|
||||
|
Loading…
Reference in New Issue
Block a user