Commit ccfa572c authored by GitLab Bot's avatar GitLab Bot

Automatic merge of gitlab-org/gitlab-ce master

parents d3946cca 87d36bc2
...@@ -8,6 +8,7 @@ import { updateTooltipTitle } from './lib/utils/common_utils'; ...@@ -8,6 +8,7 @@ import { updateTooltipTitle } from './lib/utils/common_utils';
import { isInVueNoteablePage } from './lib/utils/dom_utils'; import { isInVueNoteablePage } from './lib/utils/dom_utils';
import flash from './flash'; import flash from './flash';
import axios from './lib/utils/axios_utils'; import axios from './lib/utils/axios_utils';
import bp from './breakpoints';
const animationEndEventString = 'animationend webkitAnimationEnd MSAnimationEnd oAnimationEnd'; const animationEndEventString = 'animationend webkitAnimationEnd MSAnimationEnd oAnimationEnd';
const transitionEndEventString = 'transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd'; const transitionEndEventString = 'transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd';
...@@ -264,7 +265,10 @@ export class AwardsHandler { ...@@ -264,7 +265,10 @@ export class AwardsHandler {
const css = { const css = {
top: `${$addBtn.offset().top + $addBtn.outerHeight()}px`, top: `${$addBtn.offset().top + $addBtn.outerHeight()}px`,
}; };
if (position === 'right') { // for xs screen we position the element on center
if (bp.getBreakpointSize() === 'xs') {
css.left = '5%';
} else if (position === 'right') {
css.left = `${$addBtn.offset().left - $menu.outerWidth() + 20}px`; css.left = `${$addBtn.offset().left - $menu.outerWidth() + 20}px`;
$menu.addClass('is-aligned-right'); $menu.addClass('is-aligned-right');
} else { } else {
......
...@@ -140,7 +140,7 @@ export default { ...@@ -140,7 +140,7 @@ export default {
:id="line.left.line_code" :id="line.left.line_code"
:class="parallelViewLeftLineType" :class="parallelViewLeftLineType"
class="line_content parallel left-side" class="line_content parallel left-side"
@mousedown.native="handleParallelLineMouseDown" @mousedown="handleParallelLineMouseDown"
v-html="line.left.rich_text" v-html="line.left.rich_text"
></td> ></td>
</template> </template>
...@@ -171,7 +171,7 @@ export default { ...@@ -171,7 +171,7 @@ export default {
}, },
]" ]"
class="line_content parallel right-side" class="line_content parallel right-side"
@mousedown.native="handleParallelLineMouseDown" @mousedown="handleParallelLineMouseDown"
v-html="line.right.rich_text" v-html="line.right.rich_text"
></td> ></td>
</template> </template>
......
...@@ -53,7 +53,7 @@ export default { ...@@ -53,7 +53,7 @@ export default {
<template> <template>
<button :class="containerClass" :disabled="loading || disabled" type="button" @click="onClick"> <button :class="containerClass" :disabled="loading || disabled" type="button" @click="onClick">
<transition name="fade"> <transition name="fade-in">
<gl-loading-icon <gl-loading-icon
v-if="loading" v-if="loading"
:inline="true" :inline="true"
...@@ -63,7 +63,7 @@ export default { ...@@ -63,7 +63,7 @@ export default {
class="js-loading-button-icon" class="js-loading-button-icon"
/> />
</transition> </transition>
<transition name="fade"> <transition name="fade-in">
<slot> <slot>
<span v-if="label" class="js-loading-button-label"> {{ label }} </span> <span v-if="label" class="js-loading-button-label"> {{ label }} </span>
</slot> </slot>
......
...@@ -415,7 +415,7 @@ $award-emoji-menu-shadow: rgba(0, 0, 0, 0.175); ...@@ -415,7 +415,7 @@ $award-emoji-menu-shadow: rgba(0, 0, 0, 0.175);
$award-emoji-positive-add-bg: #fed159; $award-emoji-positive-add-bg: #fed159;
$award-emoji-positive-add-lines: #bb9c13; $award-emoji-positive-add-lines: #bb9c13;
$award-emoji-width: 376px; $award-emoji-width: 376px;
$award-emoji-width-xs: 300px; $award-emoji-width-xs: 90%;
/* /*
* Search Box * Search Box
......
.fade-enter-active, .fade-enter-active,
.fade-leave-active { .fade-leave-active,
.fade-in-enter-active,
.fade-out-leave-active {
transition: opacity $sidebar-transition-duration $general-hover-transition-curve; transition: opacity $sidebar-transition-duration $general-hover-transition-curve;
} }
.fade-enter, .fade-enter,
.fade-in-enter,
.fade-out-leave-to,
.fade-leave-to { .fade-leave-to {
opacity: 0; opacity: 0;
} }
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
module Clusters module Clusters
module Applications module Applications
class Runner < ActiveRecord::Base class Runner < ActiveRecord::Base
VERSION = '0.2.0'.freeze VERSION = '0.3.0'.freeze
self.table_name = 'clusters_applications_runners' self.table_name = 'clusters_applications_runners'
......
---
title: Resolve Code in other column of side-by-side diff is highlighted when selecting
code on one side
merge_request: 26423
author:
type: fixed
---
title: Prevent fade out transition on loading-button component.
merge_request: 26428
author:
type: fixed
---
title: Makes emoji picker full width on mobile.
merge_request: 25883
author: Jacopo Beschi @jacopo-beschi
type: fixed
---
title: Update GitLab Runner Helm Chart to 0.3.0/11.9.0
merge_request: 26467
author:
type: other
...@@ -22,7 +22,7 @@ describe Clusters::Applications::Runner do ...@@ -22,7 +22,7 @@ describe Clusters::Applications::Runner do
it 'should be initialized with 4 arguments' do it 'should be initialized with 4 arguments' do
expect(subject.name).to eq('runner') expect(subject.name).to eq('runner')
expect(subject.chart).to eq('runner/gitlab-runner') expect(subject.chart).to eq('runner/gitlab-runner')
expect(subject.version).to eq('0.2.0') expect(subject.version).to eq('0.3.0')
expect(subject).to be_rbac expect(subject).to be_rbac
expect(subject.repository).to eq('https://charts.gitlab.io') expect(subject.repository).to eq('https://charts.gitlab.io')
expect(subject.files).to eq(gitlab_runner.files) expect(subject.files).to eq(gitlab_runner.files)
...@@ -40,7 +40,7 @@ describe Clusters::Applications::Runner do ...@@ -40,7 +40,7 @@ describe Clusters::Applications::Runner do
let(:gitlab_runner) { create(:clusters_applications_runner, :errored, runner: ci_runner, version: '0.1.13') } let(:gitlab_runner) { create(:clusters_applications_runner, :errored, runner: ci_runner, version: '0.1.13') }
it 'should be initialized with the locked version' do it 'should be initialized with the locked version' do
expect(subject.version).to eq('0.2.0') expect(subject.version).to eq('0.3.0')
end end
end end
end end
......
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