Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix render issues in Safari #686

Merged
merged 1 commit into from
Nov 19, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions client/app/scripts/components/node-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ const NodeDetails = React.createClass({
return (
<div className="node-details">
<div className="node-details-header node-details-header-notavailable">
<h2 className="node-details-header-label">
n/a
</h2>
<div className="node-details-header-label-minor truncate">
{this.props.nodeId}
<div className="node-details-header-wrapper">
<h2 className="node-details-header-label">
n/a
</h2>
<div className="node-details-header-label-minor truncate">
{this.props.nodeId}
</div>
</div>
</div>
<div className="node-details-content">
Expand Down Expand Up @@ -72,11 +74,13 @@ const NodeDetails = React.createClass({
return (
<div className="node-details">
<div className="node-details-header" style={styles.header}>
<h2 className="node-details-header-label truncate" title={details.label_major}>
{details.label_major}
</h2>
<div className="node-details-header-label-minor truncate" title={details.label_minor}>
{details.label_minor}
<div className="node-details-header-wrapper">
<h2 className="node-details-header-label truncate" title={details.label_major}>
{details.label_major}
</h2>
<div className="node-details-header-label-minor truncate" title={details.label_minor}>
{details.label_minor}
</div>
</div>
</div>

Expand Down
5 changes: 3 additions & 2 deletions client/app/styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ h2 {
text {
font-family: Roboto;
fill: @text-secondary-color;
text-shadow: 0 2px 0 @white, 2px 0 0 @white, 0 -2px 0 @white, -2px 0 0 @white;

&.node-label {
fill: @text-color;
Expand Down Expand Up @@ -354,7 +353,9 @@ h2 {

&-header {

padding: 36px 36px 16px 36px;
&-wrapper {
padding: 36px 36px 16px 36px;
}

&-row {
display: flex;
Expand Down