Known SVG bug in chrome rendering rotated to improve the pain

stable
Xavier Julián 2014-09-29 12:32:11 +02:00
parent 52e72e824f
commit 4003e1193a
2 changed files with 5 additions and 2 deletions

View File

@ -275,8 +275,11 @@ ProjectMenuDirective = ($log, $compile, $auth, $rootscope, $tgAuth, $location, $
mainTemplate = _.template(""" mainTemplate = _.template("""
<div class="logo-container logo"> <div class="logo-container logo">
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 134.2 134.3" version="1.1" preserveAspectRatio="xMidYMid meet"> viewBox="0 0 134.2 134.3" version="1.1" preserveAspectRatio="xMidYMid meet" shape-rendering="geometricPrecision">
<style> <style>
svg {
transform: rotate(0.01deg);
}
path { path {
fill:#f5f5f5; fill:#f5f5f5;
opacity:0.7; opacity:0.7;

View File

@ -95,7 +95,7 @@
.project-content { .project-content {
h2 { h2 {
margin-bottom: .3rem; margin-bottom: .5rem;
} }
p { p {
@extend %small; @extend %small;