Browse Source

Fix language modal reappearing

pull/1177/head
jlukic 10 years ago
parent
commit
fd88c30ab1
3 changed files with 5 additions and 3 deletions
  1. 2
      server/documents/modules/transition.html.eco
  2. 2
      server/files/javascript/semantic.js
  3. 4
      src/definitions/elements/label.less

2
server/documents/modules/transition.html.eco

@ -164,7 +164,7 @@ type : 'UI Module'
<div class="examples">
<h2 class="ui dividing header">Visibility</h2>
<p>After the animation queue finishes for an element, its final visibility state is determined. If an animation is an outward transition, the final visibility status will be hidden. If an animation is inward the element will be visible after the animation finishes.</p>
<div class="code" data-demo="true" data-title="Disapearing element">
<div class="code" data-type="javascript" data-demo="true" data-title="Disapearing element">
$('.stick.image')
.transition('scale')
;

2
server/files/javascript/semantic.js

@ -208,7 +208,9 @@ semantic.ready = function() {
text = $choice.text()
;
if(percent < 100 && languageDropdownUsed) {
languageDropdownUsed = false;
$languageModal
.modal()
.find('.header .name')
.html(text)
.end()

4
src/definitions/elements/label.less

@ -119,11 +119,11 @@ a.ui.label {
/* Padding on next content after a label */
.ui.top.attached.label:first-child + * {
margin-top: @attachedSegmentPadding;
margin-top: @attachedSegmentPadding !important;
}
.ui.bottom.attached.label:first-child ~ :last-child {
margin-top: 0em;
margin-bottom: @attachedSegmentPadding;
margin-bottom: @attachedSegmentPadding !important;
}

Loading…
Cancel
Save