forked from indymedia/epicyon
Text entry length shorter on options screen
parent
b0369ed3bd
commit
0d43652008
|
@ -29,6 +29,7 @@
|
||||||
--hashtag-size2: 40px;
|
--hashtag-size2: 40px;
|
||||||
--follow-text-size1: 24px;
|
--follow-text-size1: 24px;
|
||||||
--follow-text-size2: 40px;
|
--follow-text-size2: 40px;
|
||||||
|
--follow-text-entry-width: 90%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -135,7 +136,7 @@ a:link {
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
width: 90%;
|
width: var(--follow-text-entry-width);
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: var(--font-size);
|
font-size: var(--font-size);
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
@ -182,7 +183,7 @@ input[type=text] {
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
width: 90%;
|
width: var(--follow-text-entry-width);
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
@ -219,7 +220,7 @@ input[type=text] {
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
input[type=text] {
|
input[type=text] {
|
||||||
width: 90%;
|
width: var(--follow-text-entry-width);
|
||||||
clear: both;
|
clear: both;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
|
|
|
@ -5356,6 +5356,9 @@ def htmlPersonOptions(translate: {}, baseDir: str,
|
||||||
cssFilename = baseDir + '/follow.css'
|
cssFilename = baseDir + '/follow.css'
|
||||||
with open(cssFilename, 'r') as cssFile:
|
with open(cssFilename, 'r') as cssFile:
|
||||||
profileStyle = cssFile.read()
|
profileStyle = cssFile.read()
|
||||||
|
profileStyle = \
|
||||||
|
profileStyle.replace('--follow-text-entry-width: 90%;',
|
||||||
|
'--follow-text-entry-width: 20%;')
|
||||||
|
|
||||||
# To snooze, or not to snooze? That is the question
|
# To snooze, or not to snooze? That is the question
|
||||||
snoozeButtonStr = 'Snooze'
|
snoozeButtonStr = 'Snooze'
|
||||||
|
@ -5420,7 +5423,7 @@ def htmlPersonOptions(translate: {}, baseDir: str,
|
||||||
optionsStr += \
|
optionsStr += \
|
||||||
'<p>' + translate['Petname'] + ': ' + \
|
'<p>' + translate['Petname'] + ': ' + \
|
||||||
'<input type="text" name="optionpetname" value="' + \
|
'<input type="text" name="optionpetname" value="' + \
|
||||||
petname + '" size="14" maxlength="14">' \
|
petname + '">' \
|
||||||
'<button type="submit" class="button" name="submitPetname">' + \
|
'<button type="submit" class="button" name="submitPetname">' + \
|
||||||
translate['Submit'] + '</button></p>'
|
translate['Submit'] + '</button></p>'
|
||||||
optionsStr += optionsLinkStr
|
optionsStr += optionsLinkStr
|
||||||
|
|
Loading…
Reference in New Issue