Make fridge magnets look more like magnets.
This commit is contained in:
1 parent
29ad828b9d
commit
5f78c8fa67
2 files changed
+13
-1
No files matched your search
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user