Skip to content
Snippets Groups Projects
Commit e1cccbba authored by Linda's avatar Linda
Browse files

fit conventions better

parent 3e9abbd5
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@
background-color: $ui-black-transparent;
}
.growableMenuBarItem {
.menu-bar-itam.growable {
max-width: 12rem;
flex: 1;
}
......
......@@ -393,7 +393,7 @@ class MenuBar extends React.Component {
<FormattedMessage {...ariaMessages.tutorials} />
</div>
<Divider className={classNames(styles.divider)} />
<div className={classNames(styles.menuBarItem, styles.growableMenuBarItem)}>
<div className={classNames(styles.menuBarItem, styles.growable)}>
<MenuBarItemTooltip
enable
id="title-field"
......
......@@ -2,6 +2,11 @@
@import "../../css/units.css";
@import "../../css/z-index.css";
/*
If project-title-input.jsx is part of a menu bar say menu-bar.jsx, it can have additional css classes that
can set a width for example or what it should do in a flex box (eg. grow).
*/
.title-field {
border: 1px dashed $ui-black-transparent;
border-radius: $form-radius;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment