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

title field now resizes

parent d83dfc3b
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@
justify-content: flex-start;
flex-wrap: nowrap;
align-items: center;
flex-grow: 1;
}
.scratch-logo {
......@@ -84,6 +85,11 @@
background-color: $ui-black-transparent;
}
.growableMenuBarItem {
max-width: 12rem;
flex: 1;
}
.file-group {
display: flex;
flex-direction: row;
......
......@@ -393,7 +393,7 @@ class MenuBar extends React.Component {
<FormattedMessage {...ariaMessages.tutorials} />
</div>
<Divider className={classNames(styles.divider)} />
<div className={classNames(styles.menuBarItem)}>
<div className={classNames(styles.menuBarItem, styles.growableMenuBarItem)}>
<MenuBarItemTooltip
enable
id="title-field"
......
......@@ -15,6 +15,8 @@ $title-width: 12rem;
width: $title-width;
height: auto;
padding: .5rem;
flex-grow: 1;
width: 2rem;
}
.title-field {
......
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