Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemBaskal committed Jun 17, 2020
1 parent 5f10806 commit 08e238a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
37 changes: 17 additions & 20 deletions client/src/components/Logs/Logs.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
text-overflow: ellipsis;
}

@media (hover: none) {
.logs__row {
position: initial;
}
}

.logs__row--center {
justify-content: center;
}
Expand Down Expand Up @@ -115,13 +109,6 @@
right: 1rem;
}

@media (hover: none) {
.logs__action {
top: 1rem !important;
right: 1rem;
}
}

.logs__action--detailed {
top: 5px;
}
Expand All @@ -131,13 +118,6 @@
position: relative;
}

@media (hover: none) {
.logs__table .rt-td,
.clients__table .rt-td {
position: initial;
}
}

.logs__table .rt-thead, .logs__table .rt-tbody {
min-width: 100% !important;
}
Expand Down Expand Up @@ -577,3 +557,20 @@
.loading__text {
transform: translateY(3rem);
}

/*reset position to make absolute position of tooltip on tablets, may cause problems https://github.com/wwayne/react-tooltip/issues/204*/
@media (hover: none) {
.logs__action {
top: 1rem !important;
right: 1rem;
}

.logs__table .rt-td,
.clients__table .rt-td {
position: initial;
}

.logs__row {
position: initial;
}
}
1 change: 1 addition & 0 deletions client/src/components/Logs/Tooltip/ReactTooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
pointer-events: auto !important;
}

/*crutch, may cause problems https://github.com/wwayne/react-tooltip/issues/204*/
@media (hover: none) {
.custom-tooltip {
position: absolute !important;
Expand Down

0 comments on commit 08e238a

Please sign in to comment.