Issue #946💬 AnsweredOpened March 13, 2018by mpr320 reactions

Overflow:hidden on .gjs-block-label clips the text

快速解答by artf

I'm not facing it on my side (Mac), probably due to the font size differences the whole content exceeds block's height: 90px;. We need overflow:hidden to avoid the text overflow with big strings. Probably just by setting min-height: 90px; on the block is enough

Read full answer below ↓

Question

Using dev@HEAD (https://github.com/artf/grapesjs/commit/9a71368f43d690405d3c60682c7dfee83fd87a4e) you can see that the Test block has it's label clipped, as shown in both Firefox and Chrome below. NB this doesn't happen on release v0.14.5

chrome ff

Answers (2)

artfMarch 15, 2018

I'm not facing it on my side (Mac), probably due to the font size differences the whole content exceeds block's height: 90px;. We need overflow:hidden to avoid the text overflow with big strings. Probably just by setting min-height: 90px; on the block is enough

lock[bot]September 18, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.