Fixed webpack config, groups flex thanks to @juliushaertl and groups tooltip
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
38b1020f52
commit
16af12e0a0
|
@ -673,7 +673,7 @@ input {
|
||||||
}
|
}
|
||||||
/* selected tag */
|
/* selected tag */
|
||||||
.multiselect__tag {
|
.multiselect__tag {
|
||||||
flex: 1 0 calc(50% - 5px);;
|
flex: 1 0 0;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
padding: 1px 5px;
|
padding: 1px 5px;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
@ -685,6 +685,9 @@ input {
|
||||||
/* require to override the default width
|
/* require to override the default width
|
||||||
and force the tag to shring properly */
|
and force the tag to shring properly */
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
max-width: 50%;
|
||||||
|
max-width: fit-content;
|
||||||
|
max-width: -moz-fit-content;
|
||||||
/* css hack, detect if more than two tags
|
/* css hack, detect if more than two tags
|
||||||
if so, flex-basis is set to half */
|
if so, flex-basis is set to half */
|
||||||
&:only-child {
|
&:only-child {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -229,7 +229,8 @@ export default {
|
||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
formatGroupsTitle(groups) {
|
formatGroupsTitle(groups) {
|
||||||
return groups.map(group => group.name).join(', ');
|
let names = groups.map(group => group.name);
|
||||||
|
return names.slice(2,).join(', ');
|
||||||
},
|
},
|
||||||
|
|
||||||
deleteUser() {
|
deleteUser() {
|
||||||
|
|
|
@ -3,9 +3,9 @@ const path = require('path')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: './src/main.js',
|
entry: './src/main.js',
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, './dist'),
|
path: path.resolve(__dirname, './js'),
|
||||||
publicPath: '/dist/',
|
publicPath: '/dist/',
|
||||||
filename: 'build.js'
|
filename: 'main.js'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
|
Loading…
Reference in New Issue