Make question text left-padded, position icon correctly

This commit is contained in:
2018-03-25 06:34:19 +05:30
parent a2c88af59d
commit 20eb3aa728
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -6,9 +6,9 @@
.icon { .icon {
position: absolute; position: absolute;
left: 2em; left: 3.5vh;
top: 0; top: 0;
transform: translate(-50%, 0);
width: 3.5vh; width: 3.5vh;
height: 3.5vh; height: 3.5vh;
border: .15em solid rgba(255, 255, 255, 0.75); border: .15em solid rgba(255, 255, 255, 0.75);
@@ -18,5 +18,5 @@
} }
.icon-rotated { .icon-rotated {
transform: translate(-50%, 0) rotate(-135deg); transform: rotate(-135deg);
} }
+1 -1
View File
@@ -34,7 +34,7 @@
position: absolute; position: absolute;
text-align: center; text-align: center;
top: 50%; top: 50%;
right: 0.5em; left: 0.5em;
transform: translate(0%, -50%); transform: translate(0%, -50%);
} }