Background image position options instead of center
@strausr is already working on this.
Since Dec 20, 2020.
Assessment
This issue has not been assessed yet.
Description
Explain your use case
There are many cases where 'center center' is not ideal for background positions as defined in the background image directive. https://github.com/cloudinary/cloudinary_angular/blob/master/projects/angular-cld/src/lib/cloudinary-background-image.directive.ts
Describe the problem you’re trying to solve
A way to provide an override without some css !important hack to control image position.
Do you have a proposed solution?
Input param for background position, defaults to center
@Input('clbackgroundposition') background_position = 'center center';
...
this.renderer.setStyle(nativeElement, 'background-position', `${background_position}`);
- Dominant language
- TypeScript
- Stars
- 303
- Forks
- 224
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from cloudinary/cloudinary_angular
-
No documentation to change domain and subdomainMay be free again @shirlymanor claimed this 2290 days ago, and no pull request is open. Open
cloudinary/cloudinary_angular#293 · 6 comments · 2 assignees ·
-
after updating latest versionMay be free again @shirlymanor claimed this 2290 days ago, and no pull request is open. Open
cloudinary/cloudinary_angular#292 · 2 comments · 2 assignees ·
-
Images not showing in Chrome v80 when loading="lazy"May be free again @strausr claimed this 2466 days ago, and no pull request is open. Open
cloudinary/cloudinary_angular#250 · 5 comments · 1 assignee ·
-
cl-image ignores a cl-transformation if it has an ng-ifMay be free again @eitanp461 claimed this 3345 days ago, and no pull request is open. Openbug
cloudinary/cloudinary_angular#105 · 5 comments · 1 assignee ·
All issues in cloudinary/cloudinary_angular
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug platform-android
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Termix-SSH/Mobile#146 · 1 comment ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
devswha/herdr-web-ui#3875 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
area: runtime chore cli consistency dependencies developer-experience difficulty: easy discovery documentation enhancement good first issue help wanted hygiene json-output packaging priority: P3 tests version
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day