Commit a91aeafa authored by Kushal Pandya's avatar Kushal Pandya

Fix order by dropdown alignment in mobile screens

parent 7928b1ec
...@@ -44,11 +44,16 @@ $column-right-gradient: linear-gradient( ...@@ -44,11 +44,16 @@ $column-right-gradient: linear-gradient(
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
display: flex; display: flex;
.dropdown-toggle .fa-chevron-down { .dropdown-menu-sort {
position: relative; // This is a hack to fix dropdown alignment in small screens
top: 5px; // where Bootstrap applies inline `transform: translate3d(...)`
right: 0; // and since our dropdown button has sort direction button
float: right; // present, alignment needs to compensate for that space
// without which it appears shifted towards left.
//
// One more approach is to override `transform` using `!important`
// but that too involves using magic number
margin-left: 27px;
} }
} }
} }
...@@ -92,7 +97,7 @@ $column-right-gradient: linear-gradient( ...@@ -92,7 +97,7 @@ $column-right-gradient: linear-gradient(
.roadmap-timeline-section .timeline-header-blank::after, .roadmap-timeline-section .timeline-header-blank::after,
.epics-list-section .epic-details-cell::after { .epics-list-section .epic-details-cell::after {
content: ''; content: "";
position: absolute; position: absolute;
top: 0; top: 0;
right: -$grid-size; right: -$grid-size;
...@@ -176,7 +181,7 @@ $column-right-gradient: linear-gradient( ...@@ -176,7 +181,7 @@ $column-right-gradient: linear-gradient(
} }
.today-bar::before { .today-bar::before {
content: ''; content: "";
position: absolute; position: absolute;
top: -2px; top: -2px;
left: -3px; left: -3px;
...@@ -190,7 +195,7 @@ $column-right-gradient: linear-gradient( ...@@ -190,7 +195,7 @@ $column-right-gradient: linear-gradient(
&.scroll-top-shadow .timeline-header-blank::before { &.scroll-top-shadow .timeline-header-blank::before {
@include roadmap-scroll-mixin; @include roadmap-scroll-mixin;
content: ''; content: "";
position: absolute; position: absolute;
left: 0; left: 0;
bottom: -$grid-size; bottom: -$grid-size;
...@@ -296,7 +301,7 @@ $column-right-gradient: linear-gradient( ...@@ -296,7 +301,7 @@ $column-right-gradient: linear-gradient(
&.start-date-outside::before, &.start-date-outside::before,
&.end-date-outside::after { &.end-date-outside::after {
content: ''; content: "";
position: absolute; position: absolute;
top: 0; top: 0;
height: 100%; height: 100%;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment