Browse Source

fix(ui): install docs line height (#28998)

Some elements in install docs (namely `<alert />`) don't have explicit line heights but instead inherit a value of 1 from `StyledSettingsWrapper`.
Vu Luong 3 years ago
parent
commit
41bd8eac04
1 changed files with 2 additions and 3 deletions
  1. 2 3
      static/app/views/projectInstall/platform.tsx

+ 2 - 3
static/app/views/projectInstall/platform.tsx

@@ -218,6 +218,8 @@ class ProjectInstallPlatform extends Component<Props, State> {
 }
 
 const DocumentationWrapper = styled('div')`
+  line-height: 1.5;
+
   .gatsby-highlight {
     margin-bottom: ${space(3)};
 
@@ -231,9 +233,6 @@ const DocumentationWrapper = styled('div')`
     border-radius: ${p => p.theme.borderRadius};
   }
 
-  p {
-    line-height: 1.5;
-  }
   pre {
     word-break: break-all;
     white-space: pre-wrap;