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
a258e764
Commit
a258e764
authored
Mar 21, 2022
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add conditional nowrap based on screen size
- add back span element - add conditional nowrap based on screen size
parent
756545f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
ee/app/assets/javascripts/dependencies/components/dependencies_table.vue
...avascripts/dependencies/components/dependencies_table.vue
+0
-1
ee/app/assets/javascripts/dependencies/components/dependency_location.vue
...vascripts/dependencies/components/dependency_location.vue
+8
-2
ee/app/assets/stylesheets/components/vulnerability_list.scss
ee/app/assets/stylesheets/components/vulnerability_list.scss
+6
-0
No files found.
ee/app/assets/javascripts/dependencies/components/dependencies_table.vue
View file @
a258e764
...
...
@@ -103,7 +103,6 @@ export default {
:fields=
"$options.fields"
:items=
"localDependencies"
:busy=
"isLoading"
responsive
data-qa-selector=
"dependencies_table_content"
details-td-class=
"pt-0"
stacked=
"md"
...
...
ee/app/assets/javascripts/dependencies/components/dependency_location.vue
View file @
a258e764
...
...
@@ -67,13 +67,19 @@ export default {
<span>
<component
:is=
"locationComponent"
class=
"gl-
white-space-nowrap gl-display-block gl-mr-5
"
class=
"gl-
md-white-space-nowrap
"
data-testid=
"dependency-path"
:href=
"location.blob_path"
>
<gl-icon
v-if=
"isContainerImageDependency"
name=
"container-image"
/>
<gl-icon
v-else
name=
"doc-text"
/>
<gl-truncate
position=
"start"
:text=
"locationPath"
with-tooltip
/>
<gl-truncate
class=
"gl-display-none gl-md-display-inline-flex"
position=
"start"
:text=
"locationPath"
with-tooltip
/>
<span
class=
"gl-md-display-none"
>
{{
locationPath
}}
</span>
</component>
<span
v-if=
"isTopLevelDependency"
>
{{
s__
(
'
Dependencies|(top level)
'
)
}}
</span>
</span>
...
...
ee/app/assets/stylesheets/components/vulnerability_list.scss
View file @
a258e764
...
...
@@ -99,3 +99,9 @@ $selection-summary-with-error-height: 118px;
max-width
:
25
*
px-to-rem
(
8px
);
}
}
.gl-md-white-space-nowrap
{
@media
(
min-width
:
768px
)
{
white-space
:
nowrap
;
}
}
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