Skip to content

Commit

Permalink
Merge branch '65063-Embeded-metrics-inconsistent-styles' into 'master'
Browse files Browse the repository at this point in the history
Fixed embedded metrics tooltip inconsistent styling

Closes #65063

See merge request gitlab-org/gitlab-ce!31517
  • Loading branch information
annabel committed Aug 29, 2019
2 parents ce84140 + ec27569 commit f7e3693
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/assets/stylesheets/framework/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,18 @@
@extend .fa-exclamation-circle;
}
}
}

.prometheus-graph-embed {
h3.popover-header {
/** Override <h3> .popover-header
* as embed metrics do not follow the same
* style as default md <h3> (which are deeply nested)
*/
margin: 0;
font-size: $gl-font-size-small;
}
}
}

/**
* Headers
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Fixed embeded metrics tooltip inconsistent styling
merge_request: 31517
author:
type: fixed

0 comments on commit f7e3693

Please sign in to comment.