edittable icon indicating copy to clipboard operation
edittable copied to clipboard

Edit button style problems

Open hefanbo opened this issue 9 years ago • 2 comments

The edit button is too high and overlapped with the table. And I have to add margin-top: 1.1em; inside form div.no input.button in file editbutton.less to get the right position.

I have no idea why the edit button is hidden in editbutton.less and is shown in editbutton.js. This makes the edit button always visible even in Print view. I tried to comment out display: none; // we make it visible by JavaScript in editbutton.less and $editbutton.show(); in editbutton.js. And then everything seems fine.

hefanbo avatar Dec 09 '15 12:12 hefanbo

The edit button should only be shown when javascript is available. But you're right it should not be shown in print.

Regarding the position, please provide more info. what template do you use? Can you provide before/after screenshot?

splitbrain avatar Dec 13 '15 07:12 splitbrain

I'm using vector template.

Before before

before2

After after

hefanbo avatar Dec 13 '15 10:12 hefanbo