Comments (1)
Hi @adrianahdez,
Have you tried text-underline-offset? Besides text-underline-offset
, text-decoration-thickness and text-decoration-color may also be useful.
The screenshot below is an example of defining a hover style that applies a custom underline to a Button block via the Global Styles panel.
Alternatively, you can wrap the text in an arbitrary element by applying some formatting to the text node. You may be able to apply styles to this element.
from gutenberg.
Related Issues (20)
- Copy/Paste Styles can give a Block a 'style' that it isn't allowed to have HOT 8
- Some Footnote IDs start with numbers, making them challenging to select using JavaScript querySelector() HOT 3
- Block Settings Menu: Unintended horizontal scrollbar in FF on Windows 11 HOT 2
- Scripts: Deprecated or remove Puppeteer as e2e test handler
- Documentation: Add missing docs in `editor` package
- ConfirmDialog: Replace 'OK' with more descriptive label HOT 6
- Project: Optimize performance test action runtime HOT 2
- Perf Tests: Update reporter to include test failures
- Block Hooks: Add UI to inform user about newly added hooked blocks HOT 6
- Navigation mobile overlay closes unintentionally after clicking on submenu button HOT 5
- Shadow: Enable drop shadow for classic themes
- Query Loop: Unset queryId attribute if the Query loop is set to inherit the query from the template. HOT 4
- Add ability to set meta data of the attachment via `registerGenerateImageMediaCategory()`
- Block pattern: Pattern using another inner pattern doesn't show in Inserter modal HOT 5
- Data Views: Pages: Improve clarity of the Trash and Permanently delete flows HOT 3
- Save user's current styles as custom styles HOT 3
- Deactivating a theme font removes it from the Font Library HOT 2
- Introduce Named Revisions/Versions HOT 2
- HTML API: Plans for 6.7
- HTML API: Roadmap
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 gutenberg.