Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6448f9d3
Commit
6448f9d3
authored
Nov 11, 2019
by
Sam Beckham
Committed by
Phil Hughes
Nov 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes mobile styling issues on security modals
parent
0651ea46
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
14 deletions
+11
-14
app/assets/stylesheets/framework/modal.scss
app/assets/stylesheets/framework/modal.scss
+3
-10
app/assets/stylesheets/pages/reports.scss
app/assets/stylesheets/pages/reports.scss
+0
-1
changelogs/unreleased/32951-secure-modal-mobile-issue.yml
changelogs/unreleased/32951-secure-modal-mobile-issue.yml
+5
-0
ee/app/assets/javascripts/vue_shared/security_reports/components/vulnerability_details.vue
...red/security_reports/components/vulnerability_details.vue
+3
-3
No files found.
app/assets/stylesheets/framework/modal.scss
View file @
6448f9d3
...
...
@@ -49,7 +49,7 @@
line-height
:
$line-height-base
;
position
:
relative
;
min-height
:
$modal-body-height
;
padding
:
#{
2
*
$grid-size
}
#{
6
*
$grid-size
}
#{
2
*
$grid-size
}
#{
2
*
$grid-size
}
;
padding
:
#{
2
*
$grid-size
}
;
text-align
:
left
;
white-space
:
normal
;
...
...
@@ -70,9 +70,9 @@
margin
:
0
;
}
.btn
+
.btn
:not
(
.dropdown-toggle-split
),
.btn
+
.btn-group
,
.btn-group
+
.btn
{
.btn-group
+
.btn
,
.btn-group
+
.btn-group
{
margin-left
:
$grid-size
;
}
...
...
@@ -83,13 +83,6 @@
@include
media-breakpoint-down
(
xs
)
{
flex-direction
:
column
;
.btn
+
.btn
:not
(
.dropdown-toggle-split
),
.btn
+
.btn-group
,
.btn-group
+
.btn
{
margin-left
:
0
;
margin-top
:
$grid-size
;
}
.btn-group
.btn
+
.btn
{
margin-left
:
-1px
;
margin-top
:
0
;
...
...
app/assets/stylesheets/pages/reports.scss
View file @
6448f9d3
...
...
@@ -131,7 +131,6 @@
.modal-security-report-dast
{
.modal-dialog
{
width
:
$modal-lg
;
max-width
:
$modal-lg
;
}
...
...
changelogs/unreleased/32951-secure-modal-mobile-issue.yml
0 → 100644
View file @
6448f9d3
---
title
:
Fixes mobile styling issues on security modals
merge_request
:
19391
author
:
type
:
fixed
ee/app/assets/javascripts/vue_shared/security_reports/components/vulnerability_details.vue
View file @
6448f9d3
...
...
@@ -43,9 +43,9 @@ export default {
<
template
>
<div
class=
"border-white mb-0 px-3"
>
<div
v-for=
"(field, key, index) in details"
:key=
"index"
class=
"d-
flex my-2
"
>
<label
class=
"col-
2 text
-right font-weight-bold pl-0"
>
{{
field
.
text
}}
:
</label>
<div
class=
"col-10 pl-0 text-secondary"
>
<div
v-for=
"(field, key, index) in details"
:key=
"index"
class=
"d-
sm-flex my-sm-2 my-4
"
>
<label
class=
"col-
sm-2 text-sm
-right font-weight-bold pl-0"
>
{{
field
.
text
}}
:
</label>
<div
class=
"col-
sm-
10 pl-0 text-secondary"
>
<template
v-if=
"hasValue(field)"
>
<div
v-if=
"hasInstances(key)"
class=
"info-well"
>
<ul
class=
"report-block-list"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment