We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89c0807 commit cca701eCopy full SHA for cca701e
src/components/cards/cards.jsx
@@ -270,10 +270,11 @@ const Cards = props => {
270
const cardHorizontalDragOffset = 400; // ~80% of card width
271
const cardVerticalDragOffset = expanded ? 257 : 0; // ~80% of card height, if expanded
272
const menuBarHeight = 48; // TODO: get pre-calculated from elsewhere?
273
+ const wideCardWidth = 500;
274
275
if (x === 0 && y === 0) {
276
// initialize positions
- x = isRtl ? -292 : 292;
277
+ x = isRtl ? (-190 - wideCardWidth - cardHorizontalDragOffset) : 292;
278
x += cardHorizontalDragOffset;
279
// The tallest cards are about 320px high, and the default position is pinned
280
// to near the bottom of the blocks palette to allow room to work above.
0 commit comments