Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insert line break title/sub title in mordal window(#172) #176

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
insert line break title/sub title in mordal window(#172)
tkmry committed Dec 12, 2020
commit e8e4815ae6d8d5c3dea4cb54b7f3cc208fb3b9ec
12 changes: 12 additions & 0 deletions examples/ganttchart/css/addin-style.css
Original file line number Diff line number Diff line change
@@ -64,6 +64,18 @@ h3 {
text-overflow: ellipsis;
}

#header h3 {
margin-bottom: 0;
}

#header h4 {
font-size: x-large;
text-align: center;
text-overflow: ellipsis;
overflow: hidden;
margin-top: 0;
}

.content {
text-align:center;
}
3 changes: 2 additions & 1 deletion examples/ganttchart/js/desktop-ganttchart.js
Original file line number Diff line number Diff line change
@@ -168,7 +168,8 @@ function closeButton() {

// モーダルウィンドウのHTMLを格納
var $weather = $('<div id=' + divid + ' class="box"><div id="box-min"><div id="header">' +
'<h3>' + data.name + '<br />' + data.desc + '</h3>' +
'<h3>' + data.name + '</h3>' +
'<h4>' + data.desc + '</h4>' +
'</div><button type="button" class="modal-close" onclick="closeButton()">×</button><div class="content">' +
'<p>' + data.lang.plzEnterStartDate + '</p><input type="text" id="start" value="' +
moment(data.start).format('YYYY/MM/DD') + '">' +