Skip to content

Commit

Permalink
fix: react-tags styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ngduc committed Nov 21, 2018
1 parent bfc4bdc commit fe3feac
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 20 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [0.7.7] - 2018-11-19
## [0.7.8] - 2018-11-20

### Added
- MultiValueFormatter
Expand Down
21 changes: 15 additions & 6 deletions lib/styles.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
.react-tags__selected-tag:after {
display: none;
}

.multi-value-formatter-content span {
padding: 2px 4px;
border-radius: 2px;
border: 1px solid lightgrey;
margin-right: 4px;
}

/* --------- customized react-tags styles */
.react-tags {
padding: 0px 0 0 6px !important;
border: none !important;
}
.react-tags__selected-tag:after {
/* TODO: for now, don't show the delete icon "X" for react-tags */
display: none !important;
}
.react-tags__selected-tag {
padding: 2px 4px !important;
}

/* --------- default react-tags styles */
.react-tags__search input {
width: 100% !important;
}


.react-tags {
.react-tags {
position: relative;
padding: 6px 0 0 6px;
border: 1px solid #D1D1D1;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-tabulator",
"version": "0.7.7",
"version": "0.7.8",
"description": "React Tabulator component",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
Binary file modified screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 15 additions & 6 deletions src/styles.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
.react-tags__selected-tag:after {
display: none;
}

.multi-value-formatter-content span {
padding: 2px 4px;
border-radius: 2px;
border: 1px solid lightgrey;
margin-right: 4px;
}

/* --------- customized react-tags styles */
.react-tags {
padding: 0px 0 0 6px !important;
border: none !important;
}
.react-tags__selected-tag:after {
/* TODO: for now, don't show the delete icon "X" for react-tags */
display: none !important;
}
.react-tags__selected-tag {
padding: 2px 4px !important;
}

/* --------- default react-tags styles */
.react-tags__search input {
width: 100% !important;
}


.react-tags {
.react-tags {
position: relative;
padding: 6px 0 0 6px;
border: 1px solid #D1D1D1;
Expand Down
21 changes: 15 additions & 6 deletions styles.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
.react-tags__selected-tag:after {
display: none;
}

.multi-value-formatter-content span {
padding: 2px 4px;
border-radius: 2px;
border: 1px solid lightgrey;
margin-right: 4px;
}

/* --------- customized react-tags styles */
.react-tags {
padding: 0px 0 0 6px !important;
border: none !important;
}
.react-tags__selected-tag:after {
/* TODO: for now, don't show the delete icon "X" for react-tags */
display: none !important;
}
.react-tags__selected-tag {
padding: 2px 4px !important;
}

/* --------- default react-tags styles */
.react-tags__search input {
width: 100% !important;
}


.react-tags {
.react-tags {
position: relative;
padding: 6px 0 0 6px;
border: 1px solid #D1D1D1;
Expand Down

0 comments on commit fe3feac

Please sign in to comment.