Skip to content

Commit

Permalink
Make segment selector bit wider + truncate segment name earlier, to f…
Browse files Browse the repository at this point in the history
…ix the visual display bug (even in German language)

Fixes #4459
  • Loading branch information
mattab committed Jan 5, 2014
1 parent 5bf19ca commit 67eeee4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/Morpheus/stylesheets/theme.less
Expand Up @@ -128,7 +128,7 @@ table.entityTable tr td a:hover {
margin: 0;
a {
.font-default(18px, 22px);
padding: 14px 27px 11px;
padding: 14px 22px 11px;
}
> li {
.border-radius(0px);
Expand Down
2 changes: 1 addition & 1 deletion plugins/SegmentEditor/javascripts/Segmentation.js
Expand Up @@ -56,7 +56,7 @@ Segmentation = (function($) {

segmentation.prototype.shortenSegmentName = function(name, length){

if(typeof length === "undefined") length = 26;
if(typeof length === "undefined") length = 16;
if(typeof name === "undefined") name = "";
var i;

Expand Down
4 changes: 2 additions & 2 deletions plugins/SegmentEditor/stylesheets/segmentation.less
Expand Up @@ -461,7 +461,7 @@ div.scrollable {

.segmentationContainer .submenu {
font-size: 13px;
min-width: 180px;
min-width: 200px;
}

.segmentationContainer .submenu ul {
Expand Down Expand Up @@ -507,7 +507,7 @@ div.scrollable {
}

.segmentationContainer.visible {
width: 180px;
width: 200px;
}

.segmentationContainer.visible ul.submenu {
Expand Down

0 comments on commit 67eeee4

Please sign in to comment.