Semantic-Org / Semantic-UI

Semantic is a UI component framework based around useful principles from natural language.
http://www.semantic-ui.com
MIT License
51.09k stars 4.95k forks source link

We cannot put a label rebon directly after <Header.content> #6985

Open bbataini opened 4 years ago

bbataini commented 4 years ago

I'm trying to put a label rebon immediatly after a <Header.Content> That work after a <Header.Subheader>

We can reproduce easily this here : https://react.semantic-ui.com/elements/label/#types-ribbon

`import React from 'react' import { Grid, Image, Label, Segment, Header } from 'semantic-ui-react'

const LabelExampleRibbon = () => (

Blablabla
Account Details User Reviews

)

export default LabelExampleRibbon `

Capture d’écran 2020-06-04 à 23 48 21

If you try this, you can see the label at right of Header, but if we add , the label is correctly placed.

Capture d’écran 2020-06-04 à 23 49 37

Thank you for this library.