Comments (2)
The question is what we'd want for when ratio
is not set (or set to auto:
Still have the pattern behind the whole container? Or should it really just be behind the img
element?
from kirby.
@distantnative That will be a question of personal taste. One person likes it, another doesn't. I don't mind if the entire background is patterned. This is also how I know it from the file blueprint:
The fundamental question is whether it makes sense to integrate this function into the core system or leave it as an individually programmable option.
The gallery block is of course also affected by this:
.k-block-type-image-auto,
.k-block-type-gallery {
background: var(--pattern);
}
[Edit] I have just noticed the difference between k-block-type-image-auto
and k-block-type-image
. k-block-type-image-auto
seems to be the better choice for me. However, I have not yet tried it with image formats that do not correspond to the usual conditions.
from kirby.
Related Issues (20)
- Impossible to remove date field content HOT 1
- Using the quickstart guide creating a new kirby project with composer leads into a frontpage with missing images HOT 4
- Error deleting page with virtual grandchildren HOT 4
- Adding role-specific `preview` permission to blueprint results in Panel error HOT 2
- [Panel] Email Dialog: Wrong translation key for title field
- Duplicated pages with copy files enabled still links to original files UUID HOT 1
- Page tables load very slow in 4.2 HOT 18
- Date field behaves weird when "display" MM/YYYY is used
- Search in panel shows old results when response times from server vary HOT 1
- Calendar not working with empty date field included in a structure field
- Unsaved changes bubble clipped and wrongly position on active/hovered tab HOT 1
- Files: don't run thumb processing if image smaller than the `create` dimensions HOT 2
- Hide page view options dropdown with no actionable options HOT 3
- Unexpected issue with sorting on setting the num prop when creating pages in code. HOT 4
- Failing Test for DateTest
- Non existing files throw error 500: the thumbnail configuration could not be found
- `k-table`: index column too narrow for high indexes
- File browser doesn't start at current page HOT 5
- `file.create:before` hook: allow to modify `$file` object HOT 3
- Filename sanitization rules are inconsistent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby.