mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -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();
|
String inputLanguage = pgf.getInputLanguage();
|
||||||
clear();
|
clear();
|
||||||
for (String word : text.split("\\s+")) {
|
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 {
|
.my-Magnet, .my-UsedMagnet {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0.3em;
|
margin: 0.3em;
|
||||||
|
border-width: 1px 3px 3px 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: black;
|
||||||
padding: 0.3em;
|
padding: 0.3em;
|
||||||
|
color: black;
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.my-Magnet a, .my-UsedMagnet a {
|
||||||
|
color: black;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-translations {
|
.my-translations {
|
||||||
|
|||||||
Reference in New Issue
Block a user