Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Use floats for image background opacity #5905

Merged
merged 1 commit into from
Apr 22, 2021
Merged

Conversation

jryans
Copy link
Collaborator

@jryans jryans commented Apr 22, 2021

It seems percentages for opacity are still newish, and they seem to confuse something which is clamping them to the 0 - 1 range (which makes sense for floats, not percentages).

Anyway, for now we can get what we want here by using float values.

Fixes element-hq/element-web#17036

It seems percentages for opacity are still newish, and they seem to confuse
something which is clamping them to the 0 - 1 range (which makes sense for
floats, not percentages).

Anyway, for now we can get what we want here by using float values.

Fixes element-hq/element-web#17036
@jryans jryans requested a review from a team April 22, 2021 13:05
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.

New lightbox navigation buttons shown over room buttons
3 participants