mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Make fridge magnets look more like magnets.
This commit is contained in:
@@ -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