Grammalecte  Check-in [2aee80c61f]

Overview
Comment:[fx] panel ui adjustment + fix lexicographer display bug
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | fx | webext2
Files: files | file ages | folders
SHA3-256: 2aee80c61f698d11482bec4d43cf46b3cf848cdc09957f7a9e4b28daa74f9f68
User & Date: olr on 2017-08-15 12:02:10
Other Links: branch diff | manifest | tags
Context
2017-08-15
19:51
[fx][bug] no empty suggestions. check-in: 3e239888b8 user: olr tags: fx, webext2
12:02
[fx] panel ui adjustment + fix lexicographer display bug check-in: 2aee80c61f user: olr tags: fx, webext2
11:49
[fx] adjusting panel position according to their borders check-in: 6bc025d3d7 user: olr tags: fx, webext2
Changes

Modified gc_lang/fr/webext/content_scripts/content_panels.css from [bdfdd8665c] to [9cb08148c3].

96
97
98
99
100
101
102
103
104
105
    cursor: pointer;
}
.grammalecte_close_button:hover {
    background-color: hsl(0, 100%, 60%);
}

.grammalecte_panel_content {
    height: calc(100% - 65px); /* panel height - title_bar */
    overflow: auto;
}







|


96
97
98
99
100
101
102
103
104
105
    cursor: pointer;
}
.grammalecte_close_button:hover {
    background-color: hsl(0, 100%, 60%);
}

.grammalecte_panel_content {
    height: calc(100% - 55px); /* panel height - title_bar */
    overflow: auto;
}

Modified gc_lang/fr/webext/content_scripts/lxg_content.js from [7b81590ebf] to [7b2e0430b4].

43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
        }
        catch (e) {
            showError(e);
        }
    },

    _createTokenNode: function (oToken) {
        let xTokenNode = createNode("div", {className: "grammalecte_token " + oToken.sType});
        xTokenNode.appendChild(createNode("b", {className: oToken.sType, textContent: oToken.sValue}));
        xTokenNode.appendChild(createNode("s", {textContent: " : "}));
        if (oToken.aLabel.length === 1) {
            xTokenNode.appendChild(document.createTextNode(oToken.aLabel[0]));
        } else {
            let xTokenList = document.createElement("ul");
            for (let sLabel of oToken.aLabel) {







|







43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
        }
        catch (e) {
            showError(e);
        }
    },

    _createTokenNode: function (oToken) {
        let xTokenNode = createNode("div", {className: "grammalecte_token"});
        xTokenNode.appendChild(createNode("b", {className: oToken.sType, textContent: oToken.sValue}));
        xTokenNode.appendChild(createNode("s", {textContent: " : "}));
        if (oToken.aLabel.length === 1) {
            xTokenNode.appendChild(document.createTextNode(oToken.aLabel[0]));
        } else {
            let xTokenList = document.createElement("ul");
            for (let sLabel of oToken.aLabel) {