Skip to content

Commit

Permalink
Merge pull request #42 from Zegnat/patch-1
Browse files Browse the repository at this point in the history
Match actual extension in .icon-tab() and .icon-tree()
  • Loading branch information
jesseweed committed Oct 4, 2014
2 parents d65ab00 + 97ec78d commit f08ec1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stylesheets/ui-mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.icon-tab( @extension: ''; @type: ''; @font: 20px; @top: 6px; @right: -3px; @left: -5px; @offset: -6px) {

.tab-bar .tab .title[data-name*="@{extension}"] {
.tab-bar .tab .title[data-name$="@{extension}"] {
position: relative;
display: inline-block;
top: @offset;
Expand All @@ -21,15 +21,15 @@
}
}

.tab-bar .tab.active .title[data-name*="@{extension}"] {
.tab-bar .tab.active .title[data-name$="@{extension}"] {
top: @offset;
}

}

.icon-tree( @extension: ''; @type: ''; @font: 20px; @top: 6px; @right: 0px; @left: -5px; @offset: -6px) {

.name.icon[data-name*="@{extension}"] {
.name.icon[data-name$="@{extension}"] {

position: relative;
display: inline-block;
Expand Down

0 comments on commit f08ec1e

Please sign in to comment.