Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests sorting #525

Merged
merged 18 commits into from
Aug 6, 2020
Prev Previous commit
Next Next commit
Move inline styling to scss file
  • Loading branch information
wojciech.blachowski committed Sep 24, 2019
commit 9745ef8d0a3eceda7819f3383df67e0a8dba340d
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@
<!--
Ordering
-->
<div class="form-group" style="position: static">
<div style="position: relative; width: calc(100% - 26px - 8px);float:left;" data-aet-sidepanel-order data-toggle="popover">
<div class="form-group order-group">
<div class="order-dropdown" data-aet-sidepanel-order data-toggle="popover">
<div class="filter-list">
<div>
<p data-ng-bind="$root.orderLabel"></p>
Expand All @@ -118,8 +118,8 @@
</form>
</div>
</div>
<div style="width:26px; height:12px; color:white;float:right;">
<div class="fontawesome" style="position:static;cursor: pointer" data-ng-click="changeSortingOrder()">
<div class="order-reversal-icon">
<div class="fontawesome" data-ng-click="changeSortingOrder()">
<div data-ng-if="$root.orderIsReverse">
<i class="fas fa-lg fa-sort-amount-up"></i>
</div>
Expand Down
22 changes: 22 additions & 0 deletions report/src/main/webapp/assets/sass/_filters.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,28 @@
cursor: pointer;
}
}

&.order-group {
position: static;

.order-dropdown {
position: relative;
width: calc(100% - 26px - 8px);
float: left;
}

.order-reversal-icon {
width: 26px;
height: 12px;
color: white;
float: right;

.fontawesome {
position: static;
cursor: pointer;
}
}
}
}

input,
Expand Down