Skip to content

remove hardcoded box-orient#4355

Merged
minrk merged 1 commit into
ipython:masterfrom
Carreau:rm-vbox
Oct 7, 2013
Merged

remove hardcoded box-orient#4355
minrk merged 1 commit into
ipython:masterfrom
Carreau:rm-vbox

Conversation

@Carreau
Copy link
Copy Markdown
Member

@Carreau Carreau commented Oct 7, 2013

remove some hardcoded vbox and hbox in html templates, those are not anymore in the notebook-app DOM, in favor oh having the less class inheriting from the corresponding mixin.

This should allow easier pure-css customization.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have a vbox here and there is another one in the 5 line (at the codecell block)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is present in current notebook-app DOM. So I'm reluctant in removing it.
I'll re-check for the other one, but I was carefull to remove only the one that were already removed in the notebook app itself.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks for the info...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually I think @damianavila was right for the other vbox in the codecell block, that does not exist in notebook-app.
I'll see if I can get rid of the last vboxes in js to and submit yet another PR that totally get rid of hardcoded h- and v-boxes both in templates and javascript.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, thanks! ;-)

@damianavila
Copy link
Copy Markdown
Member

+1 for me...

minrk added a commit that referenced this pull request Oct 7, 2013
remove hardcoded box-orient

remove some hardcoded vbox and hbox in html templates, those are not anymore in the notebook-app DOM, in favor oh having the less class inheriting from the corresponding mixin.

This should allow easier pure-css customization.
@minrk minrk merged commit c7e6a53 into ipython:master Oct 7, 2013
@Carreau Carreau deleted the rm-vbox branch October 7, 2013 18:11
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
remove hardcoded box-orient

remove some hardcoded vbox and hbox in html templates, those are not anymore in the notebook-app DOM, in favor oh having the less class inheriting from the corresponding mixin.

This should allow easier pure-css customization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants