attempt to solve line height problem through a solution that contains no logic whatsoever

This commit is contained in:
Sanj 2012-03-03 17:38:29 +05:30
parent a5255258eb
commit e31b5554e1
5 changed files with 7 additions and 5 deletions

View File

@ -157,7 +157,7 @@ class Revision(models.Model):
prop = models.CharField(max_length=100)
old_val = models.TextField()
new_val = models.TextField()
uuid = models.IntegerField()
uuid = models.IntegerField(db_index=True)
def saveRevision(r):
page = Page.objects.get(pk=r['page_id'])

View File

@ -1,4 +1,3 @@
from models import *
from files.models import *
from django.http import HttpResponse, HttpResponseRedirect

View File

@ -418,6 +418,7 @@ h5 {
body {
font-family: "DejaVu Sans", Arial, Verdana, sans-serif;
/* font-family: Helvetica, sans-serif; */
background: #aaa;
/* background-image: -moz-linear-gradient(left top, #ABAE71, #CDD535, #F4F6C7);
background-image: -webkit-gradient(radial, 45px 45px 45deg, circle cover,

View File

@ -12,6 +12,7 @@ body {
}
p {
line-height: 1;
padding: 0px;
margin: 0px;
}
@ -326,12 +327,12 @@ p {
margin-top:0px;
}
.textbox_canvas_content * {
.textbox_canvas_text {
margin-top:0px;
}
.textbox_canvas_text {
margin-top:0px;
.textbox_canvas_text * {
margin-top: 0px;
}
.save_text{

View File

@ -20,6 +20,7 @@ body, html {
p {
line-height: 100%;
padding: 0px;
margin: 0px;
}