diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-05 14:37:50 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-05 14:37:50 +0200 |
commit | c753975b087cf71d82712624fa5fcd9fa6d79844 (patch) | |
tree | d9703a358d49180806ec42131b69a8da18c194ed | |
parent | b611da70afeffbffd4a8fc8d5ddf61aa2362617d (diff) | |
download | gitlab-ce-c753975b087cf71d82712624fa5fcd9fa6d79844.tar.gz |
Add some minor improvements into registry partials
-rw-r--r-- | app/assets/stylesheets/pages/container_registry.scss | 2 | ||||
-rw-r--r-- | app/views/projects/registry/repositories/_image.html.haml | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/app/assets/stylesheets/pages/container_registry.scss b/app/assets/stylesheets/pages/container_registry.scss index 92543d7d714..3266714396e 100644 --- a/app/assets/stylesheets/pages/container_registry.scss +++ b/app/assets/stylesheets/pages/container_registry.scss @@ -8,7 +8,7 @@ .container-image-head { padding: 0 16px; - line-height: 4; + line-height: 4em; } .table.tags { diff --git a/app/views/projects/registry/repositories/_image.html.haml b/app/views/projects/registry/repositories/_image.html.haml index b0b09354e02..d183ce34a3a 100644 --- a/app/views/projects/registry/repositories/_image.html.haml +++ b/app/views/projects/registry/repositories/_image.html.haml @@ -1,7 +1,7 @@ .container-image.js-toggle-container .container-image-head = link_to "#", class: "js-toggle-button" do - = icon("chevron-down") + = icon('chevron-down', 'aria-hidden': 'true') = escape_once(image.path) = clipboard_button(clipboard_text: "docker pull #{image.path}") @@ -12,7 +12,7 @@ title: 'Remove repository', data: { confirm: 'Are you sure?' }, method: :delete do - = icon('trash cred') + = icon('trash cred', 'aria-hidden': 'true') .container-image-tags.js-toggle-content.hide - if image.has_tags? @@ -28,6 +28,5 @@ %th = render partial: 'tag', collection: image.tags - else - %li - .nothing-here-block No tags in Container Registry for this container image. + .nothing-here-block No tags in Container Registry for this container image. |