Skip to content
Snippets Groups Projects
Commit c06b62ac authored by Sam Beckham's avatar Sam Beckham :red_circle: Committed by Kushal Pandya
Browse files

Fixes styling on the dashboard counts

- Replaces a depricated class
- Fixes margins on smaller screen sizes
parent f31df951
No related branches found
No related tags found
6 merge requests!31734Update stable branch 13-0-stable-ee for automatic RC 13.0.0-rc20200512114055,!31626Update stable branch 13-0-stable-ee for automatic RC 13.0.0-rc20200511160615,!31544Update stable branch 13-0-stable-ee for automatic RC 13.0.0-rc20200510160652,!31533Update stable branch 13-0-stable-ee for automatic RC 13.0.0-rc20200509160602,!31486Update stable branch 13-0-stable-ee for automatic RC 13.0.0-rc20200508160615,!31464WIP: Resolve "Ability to create an iteration"
......@@ -28,10 +28,7 @@ export default {
<div class="p-2 bg-gray-light d-flex justify-content-center">
<severity-badge :severity="severity" />
</div>
<div
ref="body"
class="pt-3 pb-3 gl-font-size-20-deprecated-no-really-do-not-use-me text-center"
>
<div ref="body" class="pt-3 pb-3 gl-font-size-h2 text-center">
<span v-if="isLoading">&mdash;</span> <span v-else>{{ count }}</span>
</div>
</div>
......
......@@ -48,7 +48,7 @@ export default {
</script>
<template>
<div class="vulnerabilities-count-list mb-5 mt-4">
<div class="vulnerabilities-count-list mt-4">
<gl-alert v-if="showAlert" class="mb-4" variant="danger" @dismiss="onErrorDismiss">
{{
s__(
......@@ -57,7 +57,7 @@ export default {
}}
</gl-alert>
<div class="row">
<div v-for="count in counts" :key="count.severity" class="col-md col-sm-6">
<div v-for="count in counts" :key="count.severity" class="mb-5 col-md col-sm-6">
<vulnerability-count
:severity="count.severity"
:count="count.count"
......
---
title: Fixes styling on vulnerability counts
merge_request: 31076
author:
type: fixed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment