Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Fixed colorpicker input group styles #1245

Merged
merged 2 commits into from
Oct 31, 2017

Conversation

Blackbaud-SteveBrush
Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush commented Oct 31, 2017

Addresses: #1243

The input group styles were adjusted, which inadvertently affected the colorpicker.

The visual tests did not pick this up because the wrapping container was set to display: inline-block, which didn't allow the colorpicker to stretch full-width.

@@ -1,13 +1,21 @@
<div style="display: inline-block" id="screenshot-colorpicker">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the reason our visual tests didn't catch the repeating background image.

.then(() => {
SkyVisualTest.moveCursorOffScreen();
return SkyVisualTest.compareScreenshot({
return SkyVisualTest
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes to this file are simply tab-related.

<sky-colorpicker #colorPickerExample1>
<input [skyColorpickerInput]="colorPickerExample1" [(ngModel)]="color1" [presetColors]="presetColors1" [initialColor]="selectedColor1"
[outputFormat]="selectedOutputFormat1" />
<input
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some tabs cleanup...

@Blackbaud-SteveBrush Blackbaud-SteveBrush merged commit 7d492ac into master Oct 31, 2017
@Blackbaud-SteveBrush Blackbaud-SteveBrush deleted the fix-colorpicker-input branch October 31, 2017 16:18
@codecov-io
Copy link

Codecov Report

Merging #1245 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1245   +/-   ##
======================================
  Coverage     100%    100%           
======================================
  Files         355     355           
  Lines        6620    6620           
  Branches      853     853           
======================================
  Hits         6620    6620

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d43e2e4...fe2d1dc. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants