mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Bug Fixes: Tags no longer overlap 'settings' icon and scroll bars have been removed
This commit is contained in:
parent
9cfa053dd1
commit
7f296c9886
2 changed files with 6 additions and 5 deletions
|
@ -489,7 +489,7 @@ body.zen {
|
|||
z-index: 9999;
|
||||
|
||||
@include breakpoint($mobile) {
|
||||
right: 128px;
|
||||
right: 176px;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -501,23 +501,24 @@ body.zen {
|
|||
}
|
||||
|
||||
.tags {
|
||||
@include box-sizing(border-box);
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: auto;
|
||||
max-width: 80%;
|
||||
max-width: calc(100% - 300px);
|
||||
max-width: calc(100% - 320px);
|
||||
height: 26px;
|
||||
padding-left: 20px;
|
||||
padding-bottom: 20px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
white-space: nowrap;
|
||||
@include transition(width 0.2s linear);
|
||||
|
||||
@include breakpoint($mobile) {
|
||||
@include box-sizing(border-box);
|
||||
display: block;
|
||||
width: 166px;
|
||||
width: 115px;
|
||||
max-width: inherit;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -231,7 +231,7 @@
|
|||
resize: _.throttle(function () {
|
||||
var $tags = $('.tags');
|
||||
if ($(window).width() > 400) {
|
||||
$tags.css("max-width", $("#entry-tags").width() - 300);
|
||||
$tags.css("max-width", $("#entry-tags").width() - 320);
|
||||
} else {
|
||||
$tags.css("max-width", "inherit");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue