Skip to content
Lyraia

Overflow

Overflow utilities control what happens when content is bigger than its box: overflow-auto scrolls when needed, overflow-hidden clips, overflow-visible lets content spill and overflow-scroll always shows scrollbars. overflow-x-* and overflow-y-* handle each axis separately, ideal for wide tables and side-scrolling rows.

1The four overflow values

overflow-auto, overflow-hidden, overflow-visible and overflow-scroll on boxes of fixed height.

overflow-auto
We have been feeding this neighbourhood for over a decade, and we still love it. Our terrace is open from spring to autumn, with heaters for cooler evenings. Children are always welcome, with a menu made just for them. Friendly people answer your questions quickly, by phone, chat or email.
overflow-hidden
We have been feeding this neighbourhood for over a decade, and we still love it. Our terrace is open from spring to autumn, with heaters for cooler evenings. Children are always welcome, with a menu made just for them. Friendly people answer your questions quickly, by phone, chat or email.
overflow-visible
We have been feeding this neighbourhood for over a decade, and we still love it. Our terrace is open from spring to autumn, with heaters for cooler evenings. Children are always welcome, with a menu made just for them. Friendly people answer your questions quickly, by phone, chat or email.
overflow-scroll
We have been feeding this neighbourhood for over a decade, and we still love it. Our terrace is open from spring to autumn, with heaters for cooler evenings. Children are always welcome, with a menu made just for them. Friendly people answer your questions quickly, by phone, chat or email.

2Horizontal scroll only

overflow-x-auto with flex-nowrap scrolls a row of cards sideways.

Catering
Private events
Private events
Takeaway
Dine-in

3Vertical scroll only

overflow-y-auto and a max-height make a scrolling list.

  • Sofia Silva
  • Ravi Lindqvist
  • Samir Brennan
  • Kai Haddad
  • Tariq Moreau
  • Maya Fischer

4Hidden to clip rounded corners

overflow-hidden on a rounded card clips the image corners.

Not clipped
without
Clipped
overflow-hidden

5Wide table

A wide table inside overflow-x-auto scrolls instead of breaking the page.

OrderCustomerCityDateStatusTotal
#INV-9570Elena SatoCopenhagenSep 22, 2026Shipped$113.10
#TX-8695Ella WhitakerTorontoJun 28, 2026Shipped$73.31

6Code block that scrolls

Long lines in a pre with overflow-x-auto stay on one line.

npm run build -- --mode production --out-dir dist/lyraia --base ./ --sourcemap false --emptyOutDir

7Chat window

A fixed height message area with overflow-y-auto above a fixed input.

Our sommelier has paired each dish with wines from small family vineyards.
Our team has done this many times, so you never have to guess.
Every detail is handled by people who care about getting it right.
Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.

8Scrollable tab strip

Pills in a flex-nowrap row with overflow-x-auto for many categories.

9Terms box

A long text inside a bordered box with overflow-auto, like a licence agreement.

Terms of use

Order for pickup or delivery and enjoy the same dishes at home. Private dining rooms seat up to forty guests for birthdays and business dinners. Our terrace is open from spring to autumn, with heaters for cooler evenings.

We measure success by how many guests come back and tell their friends. Private dining rooms seat up to forty guests for birthdays and business dinners. Book a table online in seconds, or call us for groups of eight or more.

Every dish is cooked to order, so tell us if you would like anything changed. Our menu changes with the seasons and the best produce from nearby farms. We listen first, then build a plan around what you actually need.

10Visible overflow for a badge

overflow-visible lets a badge stick out of a box that would otherwise clip it.

overflow-hidden6
overflow-visible6

11Hidden overflow for a cropped title

overflow-hidden with a fixed height clips long text to two lines worth of space.

A table for every occasion - Vegan, vegetarian and gluten-free dishes are marked clearly on every menu.
Dec 29, 2025

12Sidebar that scrolls separately

The nav column scrolls with overflow-y-auto while the content stays put.

Our sommelier has paired each dish with wines from small family vineyards. Order for pickup or delivery and enjoy the same dishes at home.

13Image pan area

A large image in an overflow-auto box can be scrolled in both directions.

What our guests asked us most

14Kanban columns

Columns side by side in overflow-x-auto, each column scrolls with overflow-y-auto.

To do
Takeaway
Wine pairing
Catering
Doing
Cooking classes
Done
Dine-in

15Overflow-x hidden

overflow-x-hidden hides content that slides in from the side, like an off-screen panel.

Every detail is handled by people who care about getting it right.
Panel partly off the edge

16Overflow-y scroll always

overflow-y-scroll always shows the vertical scrollbar, so the width never jumps.

Children are always welcome, with a menu made just for them.

17Notification panel

A dropdown-like panel with header, scrolling body and footer.

Notifications
We have been feeding this neighbourhood for over a decade, and we still love it.
Friendly people answer your questions quickly, by phone, chat or email.
Start in minutes and get help from a real person whenever you need it.
Our team has done this many times, so you never have to guess.
View all

18Clip a decorative shape

A big circle partly outside its panel is cut off by overflow-hidden.

Fresh flavours, made every day

Bread is baked every morning and pasta is rolled by hand in our kitchen.

19Long word handling

overflow-hidden plus text-truncate versus text-break for an unbreakable string.

downloads/lyraia/assets/very-long-file-name-without-any-spaces-at-all.zip
downloads/lyraia/assets/very-long-file-name-without-any-spaces-at-all.zip

20Responsive table wrapper

table-responsive is the helper made of overflow-x-auto for tables.

PlanUsersStorageSupportAPIPrice
Pro37302 GBEmail and chatUnlimited$24.91