From 34b1e157f6dec7bc4b2074ad8b7e4fe91afd27ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 13 Dec 2015 22:45:57 +0100 Subject: [PATCH] Version 15.65 --- css/{swad15.64.5.css => swad15.65.css} | 2 +- swad_changelog.h | 5 +++-- swad_layout.c | 9 +++++++-- 3 files changed, 11 insertions(+), 5 deletions(-) rename css/{swad15.64.5.css => swad15.65.css} (99%) diff --git a/css/swad15.64.5.css b/css/swad15.65.css similarity index 99% rename from css/swad15.64.5.css rename to css/swad15.65.css index 4d9577d14..3e75cb5e9 100644 --- a/css/swad15.64.5.css +++ b/css/swad15.65.css @@ -1171,7 +1171,7 @@ a:hover /* Default ==> underlined */ /****** Contextual links with small icons and text to go to some action ******/ .CONTEXT_MENU { - margin:6px 0 8px 0; + margin:6px auto 8px auto; text-align:center; } .CONTEXT_OPT diff --git a/swad_changelog.h b/swad_changelog.h index 41ffc3105..db6f3317e 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -117,12 +117,13 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.64.18 (2015/12/13)" -#define CSS_FILE "swad15.64.5.css" +#define Log_PLATFORM_VERSION "SWAD 15.65 (2015/12/13)" +#define CSS_FILE "swad15.65.css" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1 /* + Version 15.65: Dec 13, 2015 Change in layout of contextual links. (187009 lines) Version 15.64.18: Dec 13, 2015 Code refactoring in contextual links. (187004 lines) Version 15.64.17: Dec 13, 2015 Code refactoring in contextual links. Fixed minor bug in tests. (187009 lines) diff --git a/swad_layout.c b/swad_layout.c index df33a605a..3c8634934 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -951,8 +951,9 @@ void Lay_PutContextualLink (Act_Action_t NextAction,void (*FuncParams) (), { extern const char *The_ClassFormBold[The_NUM_THEMES]; - //if (Text) - // fprintf (Gbl.F.Out,"
"); + if (Text) + fprintf (Gbl.F.Out," "); // This space is necessary to enable + // jumping to the next line on narrow screens Act_FormStart (NextAction); if (FuncParams) @@ -961,6 +962,10 @@ void Lay_PutContextualLink (Act_Action_t NextAction,void (*FuncParams) (), Text ? The_ClassFormBold[Gbl.Prefs.Theme] : NULL); Act_FormEnd (); + + if (Text) + fprintf (Gbl.F.Out," "); // This space is necessary to enable + // jumping to the next line on narrow screens } /*****************************************************************************/