Граф коммитов

14 Коммитов

Автор SHA1 Сообщение Дата
Micah Tigley 59b1a9bb5b Bug 1604726 - Use a ResizeObserver to responsively size the toolbar. r=bgrins
The RDM toolbar currently scrolls with the page when there is overflow in `.browserStack`. This is because the browser viewport can be set to a size larger than browser window. The solution here sets makes the toolbar `position: fixed` and utilizes the `ResizeObserver` to adjust the size of the device modal/selector to take up the size of the browser stack.

Differential Revision: https://phabricator.services.mozilla.com/D63245

--HG--
extra : moz-landing-system : lando
2020-02-26 14:46:58 +00:00
Daisuke Akatsuka e0035c4904 Bug 1610594: Use HTML menu component instead of xul menu. r=mtigley,jdescottes
Before now, we used XUL elements as the menu for device selection on RDM.
We introduced the icon on the XUL menuitem in bug 1306198, but the UI on Ubuntu
became weird looking. In order to fix this, we could think to modify Linux
gadget, but we replace to HTML menu components we are using in DevTools with
considering deXUL as well.

Differential Revision: https://phabricator.services.mozilla.com/D61149

--HG--
extra : moz-landing-system : lando
2020-02-12 01:33:55 +00:00
Csoregi Natalia 3811b11b57 Backed out 3 changesets (bug 1610594) for failures on e.g. browser_device_selector_items.js. CLOSED TREE
Backed out changeset a9a2395b667f (bug 1610594)
Backed out changeset c3f7182fd57f (bug 1610594)
Backed out changeset 3ec353a434f9 (bug 1610594)
2020-02-06 04:26:59 +02:00
Daisuke Akatsuka bb04568d06 Bug 1610594: Use HTML menu component instead of xul menu. r=mtigley,jdescottes
Before now, we used XUL elements as the menu for device selection on RDM.
We introduced the icon on the XUL menuitem in bug 1306198, but the UI on Ubuntu
became weird looking. In order to fix this, we could think to modify Linux
gadget, but we replace to HTML menu components we are using in DevTools with
considering deXUL as well.

Differential Revision: https://phabricator.services.mozilla.com/D61149

--HG--
extra : moz-landing-system : lando
2020-02-05 23:44:51 +00:00
Micah Tigley 7d06e9d58a Bug 1604729 - Make device modal height take up 100% of the browser stack. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D60052

--HG--
extra : moz-landing-system : lando
2020-01-15 19:37:59 +00:00
Micah Tigley 691bf8cc23 Bug 1585008 - Part 1: Use CSS grid to place browser resizers in RDM. r=bgrins,bradwerth
Place resizers for RDM browser using CSS grid. This revision takes advantage of using grid-template-columns/rows to specify where browser stack elements are placed in the grid.

Differential Revision: https://phabricator.services.mozilla.com/D59189

--HG--
extra : moz-landing-system : lando
2020-01-10 18:01:05 +00:00
Brad Werth 34532dab1e Bug 1595092 Part 1: Make new RDM UI size the content pane with content-box. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D56979

--HG--
extra : moz-landing-system : lando
2019-12-13 19:22:02 +00:00
Micah Tigley 3c2e553b75 Bug 1596166 - Remove "height: 30px" on RDM toolbar r=bgrins
The UA input field gets caught off when the browser viewport is too small. This is because the RDM toolbar has an explicit height of 30px set on it, so it can't accomodate the second row created for the UA input.

Differential Revision: https://phabricator.services.mozilla.com/D56783

--HG--
extra : moz-landing-system : lando
2019-12-11 19:50:34 +00:00
Tim Nguyen 212398bea9 Bug 1596047 - Remove new RDM CSS that's now obsolete. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D52895

--HG--
extra : moz-landing-system : lando
2019-11-13 23:26:34 +00:00
Micah Tigley 094b05d9cb Bug 1579129 - Implement left-aligning/centering the viewport based on user prefs. r=gl,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D51671

--HG--
extra : moz-landing-system : lando
2019-11-12 20:34:55 +00:00
Micah Tigley 7b518bfeac Bug 1578865 - Show the device settings modal over the RDM UI . r=gl
Since closing D50559, we're not using CSS Grid for the browser's container layout (see D48778 for context). This means positioning the device settings modal using CSS grid areas won't work.

An alternative to this is to contain the RDM toolbar inside the browser stack now that it uses CSS Grid. We can then use absolute positioning to have the RDM toolbar always positioning on top of the browser element and adjust its size when the device settings is opened.

Differential Revision: https://phabricator.services.mozilla.com/D51102

--HG--
extra : moz-landing-system : lando
2019-11-01 19:23:55 +00:00
Micah Tigley 04dddd2796 Bug 1585080 - Make RDM browser <stack> use CSS Grid r=mconley,gl
Differential Revision: https://phabricator.services.mozilla.com/D50559

--HG--
extra : moz-landing-system : lando
2019-10-29 19:49:03 +00:00
Gabriel Luong 6de755b3b6 Bug 1578839 - Implement resizing of the browser with the embedded RDM UI. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D47569

--HG--
extra : moz-landing-system : lando
2019-10-08 16:19:34 +00:00
Gabriel Luong e579ee608d Bug 1583945 - Import the RDM browser stylesheet along with the devtools-browser stylesheet. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D47132

--HG--
extra : moz-landing-system : lando
2019-10-04 22:29:47 +00:00