Quickie: Fix Button-Height-Bug of Lock-Button in Detail View (DV)

Perhaps you have already seen that the height of the “Lock”-button in the Detail View is smaller than the height of the “Save”-button next to it. With a little CSS trick, which I show here, you can fix the display-bug. Problem Reason This is not related to AppGini but to the Bootstrap CSS framework. The reason is that buttons without text are obviously displayed smaller than buttons with text. We can simply check this by adding any text to the button in development tools of our browser. Solution Unfortunately, we cannot simply change the AppGini generated code itself. Maybe BigProf …

Tip: Adding your custom CSS to an AppGini project

Sometimes people ask me where to put CSS rules in AppGini projects. On this page I describe the options and tell you how I usually do it. Option 1: hooks/header-extras.php One way is to insert the CSS code in the already existing hooks/header-extras.php file. Since this is a .php file (not a .css file), however, we have to tell the browser that the inserted code is style information. We do this via the <style>-tag: Option 2: hooks/header-extras.css For larger projects, I got used to writing my CSS specifications in a separate .css file. In addition to the additional .css file …