mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-10 22:12:48 +00:00
some fixes and updates
This fixes something i broke with last commit, but should be final commit.
This commit is contained in:
@@ -234,38 +234,31 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#groupedIcon {
|
|
||||||
#backgroundColors;
|
|
||||||
position : relative;
|
|
||||||
top : -0.3em;
|
|
||||||
right : -0.3em;
|
|
||||||
display : inline-block;
|
|
||||||
min-width : 20px;
|
|
||||||
height : ~'calc(100% + 0.6em)';
|
|
||||||
color : white;
|
|
||||||
text-align : center;
|
|
||||||
cursor : pointer;
|
|
||||||
|
|
||||||
i {
|
.field .list {
|
||||||
position : relative;
|
display : flex;
|
||||||
top : 50%;
|
flex : 1 0;
|
||||||
transform : translateY(-50%);
|
flex-wrap : wrap;
|
||||||
}
|
|
||||||
|
|
||||||
&:not(:last-child) { border-right : 1px solid black; }
|
> * { flex : 0 0 auto; }
|
||||||
|
|
||||||
&:last-child { border-radius : 0 0.5em 0.5em 0; }
|
|
||||||
}
|
|
||||||
.field .tag-input {
|
|
||||||
flex: 1 0;
|
|
||||||
.list {
|
|
||||||
display : flex;
|
|
||||||
flex : 1 0;
|
|
||||||
flex-wrap : wrap;
|
|
||||||
|
|
||||||
> * { flex : 0 0 auto; }
|
|
||||||
|
|
||||||
|
#groupedIcon {
|
||||||
|
#backgroundColors;
|
||||||
|
position : relative;
|
||||||
|
top : -0.3em;
|
||||||
|
right : -0.3em;
|
||||||
|
display : inline-block;
|
||||||
|
min-width : 20px;
|
||||||
|
height : ~'calc(100% + 0.6em)';
|
||||||
|
color : white;
|
||||||
|
text-align : center;
|
||||||
|
cursor : pointer;
|
||||||
|
|
||||||
|
i {
|
||||||
|
position : relative;
|
||||||
|
top : 50%;
|
||||||
|
transform : translateY(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
&:not(:last-child) { border-right : 1px solid black; }
|
&:not(:last-child) { border-right : 1px solid black; }
|
||||||
|
|
||||||
@@ -320,6 +313,5 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -128,7 +128,7 @@ const StringArrayEditor = createClass({
|
|||||||
|
|
||||||
return <div className='field'>
|
return <div className='field'>
|
||||||
<label>{this.props.label}</label>
|
<label>{this.props.label}</label>
|
||||||
<div style={{ flex: '1 0' }}>
|
<div style={{ flex: '1 0' }} className='value'>
|
||||||
<div className='list'>
|
<div className='list'>
|
||||||
{valueElements}
|
{valueElements}
|
||||||
<div className='input-group'>
|
<div className='input-group'>
|
||||||
|
|||||||
Reference in New Issue
Block a user