Skip to content

Commit

Permalink
Fix screenshot test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochmar Nicolas (DevExpress) committed May 30, 2024
1 parent d53f3e3 commit 66181d1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { DxFileUploaderModule } from 'devextreme-angular/ui/file-uploader';
id="uploader"
[ngClass]="
isDropZoneActive
? ['theme-accent-as-border-color']
: ['theme-border-color']
? ['dx-theme-accent-as-border-color']
: ['dx-theme-border-color']
"
>
<span>Drag and drop a photo here or click the area to select it from a folder</span>
Expand Down
8 changes: 0 additions & 8 deletions packages/angular/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ body {
background-color: var(--dx-component-color-bg);
}

.theme-accent-as-border-color {
border-color: var(--dx-color-border);
}

.theme-border-color {
border-color: var(--dx-color-primary);
}

.header-text {
@include header();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ export const FormPhotoUploader = () => {
ref={getUploaderRef}
id='uploader'
className={`${ isDropZoneActive
? 'theme-accent-as-border-color'
: 'theme-border-color' }`}
? 'dx-theme-accent-as-border-color'
: 'dx-theme-border-color' }`}
>
<span>Drag and drop a photo here or click the area to select it from a folder</span>
</div>
Expand Down
8 changes: 0 additions & 8 deletions packages/react/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ body {
background-color: var(--dx-component-color-bg);
}

.theme-accent-as-border-color {
border-color: var(--dx-color-border);
}

.theme-border-color {
border-color: var(--dx-color-primary);
}

.header-text {
@include header();
}
Expand Down
4 changes: 2 additions & 2 deletions packages/vue/src/components/utils/form-photo-uploader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
id="dropzone"
ref="dropzone"
:class="isDropZoneActive
? 'theme-accent-as-border-color'
: 'theme-border-color'
? 'dx-theme-accent-as-border-color'
: 'dx-theme-border-color'
"
>
<span>Drag and drop a photo here or click the area to select it from a folder</span>
Expand Down
8 changes: 0 additions & 8 deletions packages/vue/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
background-color: var(--dx-component-color-bg);
}

.theme-accent-as-border-color {
border-color: var(--dx-color-border);
}

.theme-border-color {
border-color: var(--dx-color-primary);
}

.header-text {
@include header();
}
Expand Down

0 comments on commit 66181d1

Please sign in to comment.