Commit e0b661b6 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'jswain_whats_new_focus' into 'master'

Fix :focus styles for What's New

See merge request gitlab-org/gitlab!61398
parents 54a417f0 1f60812d
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
<gl-drawer <gl-drawer
ref="drawer" ref="drawer"
v-gl-resize-observer="handleResize" v-gl-resize-observer="handleResize"
class="whats-new-drawer" class="whats-new-drawer gl-reset-line-height"
:z-index="700" :z-index="700"
:open="open" :open="open"
@close="closeDrawer" @close="closeDrawer"
......
...@@ -34,10 +34,11 @@ export default { ...@@ -34,10 +34,11 @@ export default {
</script> </script>
<template> <template>
<div class="gl-py-6 gl-px-5 gl-border-b-1 gl-border-b-solid gl-border-b-gray-100"> <div class="gl-py-6 gl-px-6 gl-border-b-1 gl-border-b-solid gl-border-b-gray-100">
<gl-link <gl-link
:href="feature.url" :href="feature.url"
target="_blank" target="_blank"
class="gl-display-block"
data-track-event="click_whats_new_item" data-track-event="click_whats_new_item"
:data-track-label="feature.title" :data-track-label="feature.title"
:data-track-property="feature.url" :data-track-property="feature.url"
...@@ -52,12 +53,12 @@ export default { ...@@ -52,12 +53,12 @@ export default {
<gl-link <gl-link
:href="feature.url" :href="feature.url"
target="_blank" target="_blank"
class="whats-new-item-title-link" class="whats-new-item-title-link gl-display-block gl-mt-4 gl-mb-1"
data-track-event="click_whats_new_item" data-track-event="click_whats_new_item"
:data-track-label="feature.title" :data-track-label="feature.title"
:data-track-property="feature.url" :data-track-property="feature.url"
> >
<h5 class="gl-font-lg gl-mb-1" data-test-id="feature-title">{{ feature.title }}</h5> <h5 class="gl-font-lg gl-my-0" data-test-id="feature-title">{{ feature.title }}</h5>
</gl-link> </gl-link>
<div v-if="releaseDate" class="gl-mb-3" data-testid="release-date">{{ releaseDate }}</div> <div v-if="releaseDate" class="gl-mb-3" data-testid="release-date">{{ releaseDate }}</div>
<div v-if="feature.packages" class="gl-mb-3"> <div v-if="feature.packages" class="gl-mb-3">
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
margin-top: $header-height; margin-top: $header-height;
@include gl-shadow-none; @include gl-shadow-none;
overflow-y: hidden; overflow-y: hidden;
width: 500px;
.gl-infinite-scroll-legend { .gl-infinite-scroll-legend {
@include gl-display-none; @include gl-display-none;
......
---
title: Fix :focus styles for What's New
merge_request: 61398
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment