aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgorhill <rhill@raymondhill.net>2015-06-12 08:26:54 -0400
committergorhill <rhill@raymondhill.net>2015-06-12 08:26:54 -0400
commite8208aa438c8b2d137b3bb679fd7b304ce72480a (patch)
tree72fdaaac458afe94229f26568557c132f89f3ff6 /src
parent2e50e800a5f06ec7b71a83c8714fdf172a4bde13 (diff)
downloaduBlock-e8208aa438c8b2d137b3bb679fd7b304ce72480a.zip
uBlock-e8208aa438c8b2d137b3bb679fd7b304ce72480a.tar.gz
uBlock-e8208aa438c8b2d137b3bb679fd7b304ce72480a.tar.bz2
h/v center with flex = no subpixel positioning artifacts
Diffstat (limited to 'src')
-rw-r--r--src/css/logger-ui.css11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/css/logger-ui.css b/src/css/logger-ui.css
index 572fadd..b17d147 100644
--- a/src/css/logger-ui.css
+++ b/src/css/logger-ui.css
@@ -279,9 +279,15 @@ body[dir="rtl"] #popupContainer > div {
}
.modalDialog {
+ align-items: center;
+ -webkit-align-items: center;
background-color: rgba(0, 0, 0, 0.5);
border: 0;
bottom: 0;
+ display: flex;
+ display: -webkit-flex;
+ justify-content: center;
+ -webkit-justify-content: center;
left: 0;
margin: 0;
position: fixed;
@@ -294,11 +300,6 @@ body[dir="rtl"] #popupContainer > div {
background-color: white;
border: 2px solid white;
box-sizing: border-box;
- left: 10%;
- position: absolute;
- top: 50%;
- transform: translate(0, -50%);
- transform-style: preserve-3d;
width: 80%;
}