Make fridge magnets look more like magnets.

This commit is contained in:
bjorn
2008-11-05 16:47:52 +00:00
parent 294309f2e0
commit a1c8dc8ece
2 changed files with 13 additions and 1 deletions

View File

@@ -102,7 +102,9 @@ public class FridgeApp extends TranslateApp {
String inputLanguage = pgf.getInputLanguage();
clear();
for (String word : text.split("\\s+")) {
add(new UsedMagnet(inputLanguage, word));
if (word.length() > 0) {
add(new UsedMagnet(inputLanguage, word));
}
}
}

View File

@@ -17,7 +17,17 @@
.my-Magnet, .my-UsedMagnet {
float: left;
margin: 0.3em;
border-width: 1px 3px 3px 1px;
border-style: solid;
border-color: black;
padding: 0.3em;
color: black;
background-color: white;
}
.my-Magnet a, .my-UsedMagnet a {
color: black;
text-decoration: none;
}
.my-translations {