Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS overflow-anchor property #584

Open
pw242 opened this issue Sep 30, 2023 · 1 comment
Open

CSS overflow-anchor property #584

pw242 opened this issue Sep 30, 2023 · 1 comment

Comments

@pw242
Copy link

pw242 commented Sep 30, 2023

I can't find the CSS overflow-anchor property anywhere.
https://www.w3schools.com/cssref/css_pr_overflow-anchor.php

@MangelMaxime
Copy link
Contributor

Hello @pw242,

It indeed seems to be missing.

Would you like to try send a PR?

I believe you should be able to use textOverflow as a reference:

Feliz/Feliz/Styles.fs

Lines 3640 to 3650 in 1b7298e

[<Erase>]
type textOverflow =
/// Default value. The text is clipped and not accessible.
static member inline clip = Interop.mkStyle "textOverflow" "clip"
/// Render an ellipsis ("...") to represent the clipped text.
static member inline ellipsis = Interop.mkStyle "textOverflow" "ellipsis"
/// Render the given string to represent the clipped text.
static member inline custom(value: string) = Interop.mkStyle "textOverflow" value
static member inline initial = Interop.mkStyle "textOverflow" "initial"
/// Inherits this property from its parent element.
static member inline inheritFromParent = Interop.mkStyle "textOverflow" "inherit"

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

No branches or pull requests

2 participants