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
f759338f
Commit
f759338f
authored
May 03, 2021
by
Paul Slaughter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve frequent_items style flexibility
- Instead of hardcoding heights we use flexbox
parent
dc123787
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
app/assets/javascripts/frequent_items/components/app.vue
app/assets/javascripts/frequent_items/components/app.vue
+1
-1
app/assets/javascripts/frequent_items/components/frequent_items_list.vue
...scripts/frequent_items/components/frequent_items_list.vue
+5
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+1
-2
No files found.
app/assets/javascripts/frequent_items/components/app.vue
View file @
f759338f
...
...
@@ -100,7 +100,7 @@ export default {
</
script
>
<
template
>
<div>
<div
class=
"gl-display-flex gl-flex-direction-column gl-flex-align-items-stretch gl-h-full"
>
<frequent-items-search-input
:namespace=
"namespace"
/>
<gl-loading-icon
v-if=
"isLoadingItems"
...
...
app/assets/javascripts/frequent_items/components/frequent_items_list.vue
View file @
f759338f
...
...
@@ -59,7 +59,11 @@ export default {
<
template
>
<div
class=
"frequent-items-list-container"
>
<ul
ref=
"frequentItemsList"
class=
"list-unstyled"
>
<li
v-if=
"isListEmpty"
:class=
"
{ 'section-failure': isFetchFailed }" class="section-empty">
<li
v-if=
"isListEmpty"
:class=
"
{ 'section-failure': isFetchFailed }"
class="section-empty gl-mb-3"
>
{{
listEmptyMessage
}}
</li>
<frequent-items-list-item
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
f759338f
...
...
@@ -853,7 +853,7 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu {
.frequent-items-dropdown-sidebar
,
.frequent-items-dropdown-content
{
padding
:
8px
0
;
@include
gl-pt-3
;
}
.loading-animation
{
...
...
@@ -895,7 +895,6 @@ header.header-content .dropdown-menu.frequent-items-dropdown-menu {
}
.frequent-items-list-container
{
height
:
304px
;
padding
:
8px
0
;
overflow-y
:
auto
;
...
...
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