feat(FN-2582): widen board columns and align mobile snap centering
- Increase dashboard board column fixed width to 300px in styles and related expectations - Update mobile board snap-centering behavior to match wider column sizing - Adjust column fixed-width and board mobile tests to reflect the new layout measurements
This commit is contained in:
@@ -133,18 +133,18 @@ describe("Board and Column mobile CSS", () => {
|
||||
expectRuleToContain(mobileSection, ".board", "scroll-behavior: smooth;");
|
||||
});
|
||||
|
||||
it("contains .board > .column width: 280px in the mobile media block", () => {
|
||||
it("contains .board > .column width: 300px in the mobile media block", () => {
|
||||
const css = loadAllAppCss();
|
||||
const mobileSection = getMainMobileSection(css);
|
||||
|
||||
expectRuleToContain(mobileSection, ".board > .column", "width: 280px;");
|
||||
expectRuleToContain(mobileSection, ".board > .column", "width: 300px;");
|
||||
});
|
||||
|
||||
it("contains .board > .column min-width: 280px in the mobile media block", () => {
|
||||
it("contains .board > .column min-width: 300px in the mobile media block", () => {
|
||||
const css = loadAllAppCss();
|
||||
const mobileSection = getMainMobileSection(css);
|
||||
|
||||
expectRuleToContain(mobileSection, ".board > .column", "min-width: 280px;");
|
||||
expectRuleToContain(mobileSection, ".board > .column", "min-width: 300px;");
|
||||
});
|
||||
|
||||
it("does not force .column-header min-height in the mobile media block", () => {
|
||||
|
||||
Reference in New Issue
Block a user