Skip to content

Commit a263a49

Browse files
authored
Move the location of QuickLinks to acomodate new coming changes on w.org (#405)
1 parent fc03e7d commit a263a49

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# 2.1.0
22
* Enhancement: Add Discussion Quick Link.
3+
* Change: Move the location of QuickLinks to accomodate the upcoming changes on translate.w.org.
34

45
# 2.0.11
56

css/style.css

-16
Original file line numberDiff line numberDiff line change
@@ -238,22 +238,6 @@ button.gd-approve strong {
238238
animation-name: gd-ripple-out;
239239
}
240240

241-
.editor-panel__right .panel-header button {
242-
background: none;
243-
border: none;
244-
height: 40px;
245-
width: 40px;
246-
padding: 0;
247-
margin: 0;
248-
vertical-align: middle;
249-
box-shadow: none;
250-
border-radius: 0;
251-
}
252-
253-
.editor-panel__right .panel-header button:hover {
254-
background: #fafafa;
255-
}
256-
257241
.gd_quicklinks_copy.active {
258242
color: #0073aa;
259243
}

js/glotdict-consistency.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function gd_quicklinks( current_editor = '.editor' ) {
6161
gd_quicklinks_discussion,
6262
);
6363

64-
gd_add_elements( `${current_editor} .editor-panel__right .panel-header`, 'beforeend', gd_quicklinks_output );
64+
gd_add_elements( `${current_editor} .editor-panel__left .panel-header .panel-header-actions`, 'afterBegin', gd_quicklinks_output );
6565

6666
document.querySelectorAll( `${current_editor}` ).forEach( ( editor ) => {
6767
const editor_menu = editor.querySelectorAll( '.button-menu__dropdown li a' );

0 commit comments

Comments
 (0)